Topic-icon Undefined property notices

Active Subscriptions:

None
13 years 1 month ago #32493 by pastre
I use Virtuemart 2 and JFBconnect 5.0.

In virtuemart SHOP, I see these errors :

Notice: Undefined property: TableVendors::$id in /home/lapag879/public_html/pt3/libraries/sourcecoast/articleContent.php on line 79

Notice: Undefined property: TableVendors::$id in /home/lapag879/public_html/pt3/libraries/sourcecoast/articleContent.php on line 79

In virtuemart CATEGORY views, I see error like :

Notice: Undefined property: TableCategories::$id in /home/lapag879/public_html/pt3/libraries/sourcecoast/articleContent.php on line 79

Notice: Undefined property: TableCategories::$id in /home/lapag879/public_html/pt3/libraries/sourcecoast/articleContent.php on line 79

Notice: Undefined property: TableCategories::$catid in /home/lapag879/public_html/pt3/libraries/sourcecoast/articleContent.php on line 39

Notice: Undefined property: TableCategories::$catid in /home/lapag879/public_html/pt3/libraries/sourcecoast/articleContent.php on line 39

All seems to be right in PRODUCT details view.

What could I do please?
The topic has been locked.
Active Subscriptions:

None
13 years 1 month ago #32497 by pastre
Replied by pastre on topic Undefined property notices
That's right now.

I reinstalled VM.
The topic has been locked.
Support Specialist
13 years 1 month ago #32502 by alzander
Replied by alzander on topic Undefined property notices
We'll have to look into why those notices are appearing more on our side. However, those are simply 'Notices', not warnings or errors and shouldn't prevent normal functionality. Basically, those are messages from PHP to 'us', the developers, that something's not perfect, but not is really wrong.

From a quick look at our code, the automatic Like/Comment boxes that can be configured to show in your content is triggering on those pages. I'm not sure why that would be, but since it's a Virtuemart page, and not Joomla or K2 content, our plugin isn't finding the information it wants to see (category id, for example).

Are you using Virtuemart2 to display on those pages, or are you using some other extension that works with Virtuemart to display them?

In the meantime, I'd recommend going into the Global Configuration area of Joomla and setting "Error Reporting" to "None", which will hide those notices.

Hope that helps,
Alex
The topic has been locked.