PHP Notice: Undefined property: stdClass
- cazzani
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
7 years 11 months ago #7745
by cazzani
Although SEF Advance seems to be working perfectly fine, my Apache server continuously keeps logging these errors:
I am using Joomla 3.6.3 on PHP 7.0.12.
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.
- Saka
- Offline
- Administrator
7 years 11 months ago #7749
by Saka
Emir Sakic
www.sakic.net
And what's your SEF Advance version?
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- cazzani
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
7 years 11 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.
- Saka
- Offline
- Administrator
7 years 11 months ago #7752
by Saka
Emir Sakic
www.sakic.net
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.
- cazzani
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
7 years 11 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/
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:The second one (causing an error message) has this kind of HTML for images:
I hope this piece of information can help you identify what's going on behing the scenes.
Stefano
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>
<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.