Hi, everytime i try to load a footer template in global i get the following warning:
Warning: Undefined array key “height” in /var/www/html/wp-content/plugins/td-composer/includes/tdc_util.php on line 107 Warning: Undefined array key “width” in /var/www/html/wp-content/plugins/td-composer/includes/tdc_util.php on line 108
Hello @monema !
Make sure that the theme and plugins are up to date.
Please execute these steps:
1. deactivate TagDiv Composer
2. uninstall (delete) TagDiv Composer
3. clear cache (if a cache plugin is present).
4. install TagDiv Composer
5. activate TagDiv Composer
6. clear cache (if a cache plugin is present).
Clear the cache and check the results!
Thank you!
Hi, the warning is showing again and this time the solution is not working. I also updated the theme but the warning is still there:
Warning: Undefined array key “height” in /var/www/html/wp-content/plugins/td-composer/includes/tdc_util.php on line 107 Warning: Undefined array key “width” in /var/www/html/wp-content/plugins/td-composer/includes/tdc_util.php on line 108
-
This reply was modified 3 years by
monema.
Hello @monema !
We can take a look at this and investigate why it is not working for you. 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!
hi the problem is ok just for the home page and articles, in all the rest of the website is full of warnings ie:
https://altrefiamme-new.monema.dev/negozio/
https://altrefiamme-new.monema.dev/azienda/
thanks
ok we didn’t touch anything but several header teplate were missing, we have restored the entire website to the date prior to your modify and now we got no error in console.
We have disabled all non necessary plugins. But warnings remains.
Could you suggest or tell us what to do?
Thanks.
Hello,
The problem is caused because you use an SVG image, and this type doesn’t have a size (width/height) when you add them, and the element that you use searches after those parameters. What I can suggestion is to use png, or set the WP debug to false.
Thank you!