No Code Attached Yet
avatar xplaym
xplaym
14 Mar 2022

Steps to reproduce the issue

With PHP8 (8.0.8, 8.1.0) I get the above error when i try to add a new menu item
With PHP7 (7.4.28) all works fine

Expected result

Actual result

System information (as much as possible)

Setting Value

PHP Built On Linux
Database Type mysql
Database Version 8.0.26
Database Collation utf8mb4_0900_ai_ci
Database Connection Collation utf8mb4_0900_ai_ci
PHP Version 8.0.8
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.10.6 Stable [ Daraja ] 12-February-2022 17:04 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0

Additional comments

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
4.00

avatar xplaym xplaym - open - 14 Mar 2022
avatar xplaym xplaym - change - 14 Mar 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 14 Mar 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Mar 2022
avatar richard67
richard67 - comment - 14 Mar 2022

Could you (temporarily) switch on debug in global configuration so you can see the stack trace to the error, and post that stack trace here? It would help us to see where the error happens. Thanks in advance.

avatar xplaym xplaym - change - 15 Mar 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-03-15 09:17:06
Closed_By xplaym
avatar xplaym xplaym - close - 15 Mar 2022
avatar xplaym
xplaym - comment - 15 Mar 2022

I just solved the problem and was due the component "Adsmanager"

activating the debug I can read this additional info:
0 array_key_exists(): Argument #2 ($array) must be of type array, stdClass given
/plugins/content/adsmenu/adsmenu.php:14

Solution: upgrade the component Adsmanager to the version 3.2.15

avatar xplaym
xplaym - comment - 15 Mar 2022

Solution: upgrade the component Adsmanager to the version 3.2.15

avatar richard67
richard67 - comment - 15 Mar 2022

Thanks for reporting back. Happy it was solved.

Add a Comment

Login with GitHub to post a comment