PHP Notice: Undefined property: stdClass

7 years 6 months ago #7745 by cazzani
Although SEF Advance seems to be working perfectly fine, my Apache server continuously keeps logging these errors:
mod_fcgid: stderr: PHP Notice: Undefined property: stdClass::$image_fulltext in /var/www/vhosts/j508.vertigonet.it/httpdocs/components/com_sefadvance/parse.php on line 865
mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /var/www/vhosts/j508.vertigonet.it/httpdocs/components/com_sefadvance/extensions/com_content.php on line 118

I am using Joomla 3.6.3 on PHP 7.0.12.

Please Log in or Create an account to join the conversation.

7 years 5 months ago #7749 by Saka
And what's your SEF Advance version?

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

7 years 5 months ago #7751 by cazzani
Sef Advance 1.8.1 now on Joomla 3.6.4

Please Log in or Create an account to join the conversation.

7 years 5 months ago #7752 by Saka
I don't get the notice so it may be something specific on your installation. If you send me the access info I can have a look.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

7 years 5 months ago #7754 by cazzani
After a lot of digging, I might have found the (weird) root cause of the issue, although I need you to crosscheck.

It's somehow related to the OGP feature and the way images are coded in the HTML content.

If I switch the OGP feature off in SEF Advance, I get no warning message in the Apache log.

If I switch the OGP feature on in SEF Advance, I get the warning message only on certain pages.

For instance, this page shows no error message:
j514.vertigonet.it/nuovi-prodotti/oscill...do9000-201609131800/

This older page, instead, shows the error message
j514.vertigonet.it/nuovi-prodotti/oscill...oscopio-20081021129/
2016-11-04 15:38:56	Warning	93.35.48.46		mod_fcgid: stderr: PHP Notice: Undefined property: stdClass::$image_fulltext in /var/www/vhosts/j514.vertigonet.it/httpdocs/components/com_sefadvance/parse.php on line 865

The only significant difference between the two pages is how images in the content of the article are coded (originally through different rokBox / Jce combination).

The first one (no error message) has this kind of HTML for images:
<p><strong><a href="/images/stories/nuovi_prodotti/1609_LeCroy_hdo9000-oscilloscope.jpg" target="_blank" data-rokbox-caption="Oscilloscopio Teledyne LeCroy HDO9000" data-rokbox="1">
<img style="margin-right: 5px; float: left;" title="Oscilloscopio Teledyne LeCroy HDO9000" src="/images/stories/nuovi_prodotti/thumbnails/thumb_1609_LeCroy_hdo9000-oscilloscope.jpg" alt="Oscilloscopio Teledyne LeCroy HDO9000" width="150" height="138" /></a>Teledyne LeCroy</strong>
 ha ampliato ulteriormente la sua gamma di <strong>oscilloscopi ad alta definizione</strong> introducendo i modelli della serie <strong>HDO9000</strong>, che offrono una larghezza di banda massima sino a <strong>4 GHz</strong>.</p>
The second one (causing an error message) has this kind of HTML for images:
<p><a title="0810_lecroy_sda760zi.jpg" href="/images/stories/nuovi_prodotti/0810_lecroy_sda760zi.jpg" target="_blank" rel="rokbox[400 341]">
<img class="jcetooltip" title="Ingrandisci::Oscilloscopio LeCroy SDA 7 Zi" style="float: left; margin-right: 5px;" height="127" alt="Oscilloscopio LeCroy SDA 7 Zi" src="/images/stories/nuovi_prodotti/thumbnails/thumb_0810_lecroy_sda760zi.jpg" width="150" /></a>
Il nuovo software <strong>SDA II</strong> per il collaudo di dati seriali è la soluzione più potente e versatile presentata da <strong>LeCroy </strong>per individuare alla radice le cause della mancata conformità agli standard dei dati seriali. </p>

I hope this piece of information can help you identify what's going on behing the scenes.
Stefano

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch