PHP Warning: Undefined array key

Posted in: Newspaper
Post count: 50

Hello my php log is FULL of these

PHP Warning: Undefined array key “widget_id” in legacy/common/wp_booster/td_wp_booster_functions.php on line 3123

Same line

what to do ?

/J

Post count: 50

I modified the code to check if it exists: isset($widgetArgs[‘widget_id’])

if (isset($widgetArgs[‘widget_id’]) && strpos($widgetArgs[‘widget_id’], ‘td_block’) !== 0) {

Post count: 21065

Hello @bananaj!

Please deactivate all the non-tested plugins with our theme before updating.
Update WordPress, PHP, the theme, and plugins to the latest version.
Check all these requirements for the theme: https://forum.tagdiv.com/requirements-for-newspaper/

Let me know the results!

Thank you!

Post count: 50

I am running latest everything.. i fixed warnings with code above.

Regards

J

Post count: 7

Hello,
Same issue, the logs are flooded by lines like this:

PHP Warning: Undefined array key "widget_id" in /public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php on line 3123

WordPress, theme and plugins are all up to date.
The issue can be fixed editing plugin code (as @bananaj specified) but it’s not really a fix, on next update the problem will be back.

Can you fix this in the next version?

Thanks.

Post count: 21065

Hello!

I will add this request to our improvement list!

Thank you for your feedback!

Post count: 9

+1, I would like to request adding this fix to the next update as well

Post count: 21065

Hello @jedy!

Did you update the theme and plugins to the latest version?

Thank you!

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