Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / [RESOLVED] Undefined Property when clicking on Ad

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

[RESOLVED] Undefined Property when clicking on Ad

More
11 years 10 months ago - 11 years 10 months ago #8542 by flappleton
In either the list or details display when the ad author.owner is clicked the following error message appears:

Notice: Undefined property: stdClass::$guest in /mnt/data/vhosts/casite-573444.cloudaccess.net/httpdocs/components/com_adsmanager/views/list/view.html.php on line 208

AdsManager is available to our users whether logged in or not. The same error occurs whether logged in or not.

I would appreciate some help fixing the error.
Last edit: 11 years 10 months ago by loic.
More
11 years 10 months ago #8560 by loic
Hello,

Could you tell me which version of AdsManager and Joomla you are using ?

Best regards.
More
11 years 10 months ago #8564 by flappleton
Replied by flappleton on topic Undefined Property - when clicking on Ad owner
Adsmanager 3.0.1
Joomla 3.3.0

Thanks for any help you can give.
More
11 years 10 months ago #8581 by loic
Hello,

Did you try to download and install the version 3.0.2 ?

If you still have the problem, could you open the file 'components/com_adsmanager/views/list/view.html.php' and copy the line 208 here ?

Best regards.
More
11 years 10 months ago - 11 years 10 months ago #8588 by flappleton
Replied by flappleton on topic Undefined Property - when clicking on Ad owner
3.0.2 has been installed. It is still displaying the error message.

Here is line 208

if($user->guest == false){
$favorites = $contentmodel->getFavorites($user->id);
} else {
$favorites = array();
}
Last edit: 11 years 10 months ago by flappleton.
More
11 years 10 months ago #8593 by loic
Could you add this block just before the line 208:
if(!isset($user))
$user = JFactory::getUser();

Best regards.
Moderators: perry
Time to create page: 0.320 seconds
Powered by Kunena Forum