PHP version from 7.4 to 8.2 Flex Blocks warning

Posted in: Newspaper
Post count: 16

Hello everyone,

I have the following problem: I recently changed my PHP version from 7.4 to 8.2 and am currently checking for errors. I have encountered an issue with the Flex Blocks. Here is an example:

When I try to display more than 2 articles, I get the following error:

Warning: Undefined array key “width” in /var/www/…/…/../wp-includes/media.php on line 1440

It is always the same error: Warning: Undefined array key “width”. As mentioned, this only happens when I try to display more than 2 posts, and only with the Flex Blocks.

Do you have any tips for me?

Thank you and best regards.

Post count: 27744

Hello,

Usually, the theme’s warning should come from wp-content, not wp-includes. I think you have this warning from WordPress.
What WordPress version do you use?

Thank you!

Post count: 21065

Hello!

Please update WordPress, PHP, the theme, and plugins to the latest version: https://forum.tagdiv.com/how-to-update-the-theme-2/
Do you remember to set the wrong width somewhere? Make a test and deactivate all plugins except tagDiv ones. Also, if you are using a cache plugin, deactivate it, clear all cache, and try again. If the problem is still there, then please contact us via email at contact@tagdiv.com and provide the following:
– admin url and credentials
– a link to this topic in order to identify you

Thank you!

Post count: 16

First Thanks for the help and WordPress 6.6

Post count: 16

okay i will try it and thanks

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