Error messages “Undefined array key” using PHP 8.0 and Astra-theme
-
In my wp-project using Astra-theme I’ve got the following warnings when recommended PHP 8.0 is used:
Warning: Undefined array key "advanced-footer-widget-2" in /home/www/public_html/subdomain-test-ruf-okel-de/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/widget/package.module.widget.php on line 93 Warning: Undefined array key "before_widget" in /home/www/public_html/subdomain-test-ruf-okel-de/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/widget/package.module.widget.php on line 96
Warning: Undefined array key "widget_setting_before_title" in /home/www/public_html/subdomain-test-ruf-okel-de/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/widget/templates/display_gallery.php on line 9 Warning: Undefined array key "widget_setting_after_title" in /home/www/public_html/subdomain-test-ruf-okel-de/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/widget/templates/display_gallery.php on line 11
In another project with 2017-theme in the same environment, everthing works fine without errors.
The warnings disappear, when I disable NexGEN Gallery.
There is a 2nd problem, which is independent from PHP 8.0 or 7.4:
The footer Widget-2-title “Sponsoren” is always written in smaler character-size than defined.WordPress: 6.1.1
Astra: 4.0.2
NexGEN Gallery: Version 3.35
PHP: 8.0[The site is under development an may be shiftet within the next days.]
- This topic was modified 2 years, 1 month ago by . Reason: 2nd problem added with footer-widget-title
- This topic was modified 2 years, 1 month ago by .
The page I need help with: [log in to see the link]
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Error messages “Undefined array key” using PHP 8.0 and Astra-theme’ is closed to new replies.