Uninitialized string offset

Posted in: Newspaper
Post count: 58

Hello,

I get this error message at the beginning of every article:

[img]http://up.picr.de/34040307aq.jpg[/img]

And that is the part of the code:

// return if the ad for a specific spot id is empty
if (empty($ad_array[$spot_id][‘ad_code’])) {
return ”;
}

Row 39 starts with if

Post count: 35449

Hi,

If you are using any plugins, please try to deactivate them, and try again.

Please provide some more details and screenshots, or a link to the website where I can see the problem would be very helpful.

Thank you for your understanding.

Post count: 58

Hi,

here an example link https://www.hrs.com/pl/serwis-prasowy/informacje-prasowe/firma-hrs-zajmie-sie-digitalizacja-globalnego-programu-hotelowego-airbusa.html

You will see the error message in the beginning of the article

Thanks!

Post count: 35449

Hi,

There seems to be an ad that is no longer working.
Please check if you have some ad in Newspaper>Theme panel>Ads >Article top ad ( https://www.screencast.com/t/qSwFJWeKSi ).

Also check if your WP_DEBUG is set on false ( documentation ).

Let me know how it work.

Post count: 58

Article top ad was empty, setting debug to false solved the problem, thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.