Undefined array key 'show_name'

Posted in: Newspaper
Post count: 12

My site’s admin error log is throwing up constant errors which ties to using the adbox widget.

The errors are all from the same file, but different lines in the file:

Undefined array key “show_name” in /public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_block_widget.php on line 383

Also line 393, 409, 421, 479

I recently upgraded both the theme and the site’s PHP from 7.4 to 8.0. Does this tie in with that?

Post count: 12

Able to recreate the problem on a localhost site. The problem doesn’t exist when using PHP 7.4 but once on PHP 8.0 it’s constant.

  • This reply was modified 3 years by FrankG.
Post count: 35449

Hi,
For me the theme is working ok with php v8.03 -> https://i.imgur.com/jHoTN4W.png
Can you please provide some details to try to recreate this problem on our installs?
Thank you!

Post count: 12

Sure. I have PHP 8.0, Newspaper 11.5.1 and the ‘Classic Widgets’ plugin installed

When I go to widgets, the ‘Ad Box’ element if I place it in a sidebar and open it, it just throws up those orange ‘Warning’ boxes with:

“Undefined array key “show_name” in /public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_block_widget.php on line 383”

My Wp-Admin on my live site is causing all sorts of errors to appear and I’m fairly sure it’s actively hurting my page loading and ad loading.

As far as I can see, it’s only the Ad Box widget that has this issue – all the others don’t cause the error.

Fault

  • This reply was modified 3 years by FrankG.
Post count: 35449

Hi FrankG, thank you for details, indeed the problems seems to be only on ad box on classic widgets -> https://i.imgur.com/xt0igCj.png
I tested all the theme elements and the rest of them are fine.
Thank you for helping us to recreate the problem.
I will try try came back with a fix as soon as possible.
Thank you!

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