-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Menu Manager throws deprecated error in PHP 8.1 #3073
Comments
Yeah, the issue is PHP 5 support. Many libraries, including Pimple, now require PHP 7.2.5 or later. I'll check if there's something I can do quickly to fix this. In the meantime, just disable error reporting for deprecated errors and you should be fine. |
Can you guys try the lastest CI build? |
Thanks for your new build. The Pimple librairies errors have disappeared. I still get the Invalid menu structure error when PHP error reporting is set to E_ALL or Joomla error reporting is set to Maximum (I can live with that). On wordpress, the issue seems to be fixed. |
When installing joomla-pkg_gantry5_develop, no errors and warnings are displayed, but when installing the joomla-tpl_g5_helium_develop template, the same warnings and errors are displayed. How are you going to fix it? Disable warnings or still update libraries? Why is there a "fixed" icon on the topic, nothing has been fixed, as there were warnings and remained. |
Platform (MAMP Pro 6.6.2, Mac OS 12.5.1):
Joomla 4.1.5 or greater, Gantry 5.5.15-dev, Free and Premium Gantry templates, PHP 8.1.1 or greater, no cache, no SEO plugin.
Steps to reproduce
Using Joomla 4.1.5, set Error Reporting to default/maximum in global configuration and PHP to 8.1.1 or greater
Go to Gantry backend and click on the Menu tab.
Actual result
I get the following error message without the menu being displayed:
Invalid menu structure
Menu on Frontend is working.
How to temporarily fix the issue
Set error level to Simple or None.
Misc
Tested on 5 different websites using different Gantry templates: Hydrogen, Helium, Studius, Fluent and Callisto. I guess some error notices are polluting the data streams, so I remark that a deprecated notice for the Pimple library is displayed everywhere when error level is set to maximum.
Tested on a "fresh install" of Joomla 4.2.0 / Gantry Helium with the same result. I also tested on an online staging server (Linux) with the same result.
Tested on Wordpress 6.0 with constant WP_DEBUG and WP_DEBUG_DISPLAY switched to true. I get the same error message.
The text was updated successfully, but these errors were encountered: