Support

Admin Tools

#36446 PHP Error when PHP Version 8.0 is activated

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by [email protected] on Thursday, 20 January 2022 11:39 CST

[email protected]

Hello,

I receive tons of PHP Errors / Warning when I activate PHP 8.0 on STRATO. I have to switch back to 7.4 to get rid of the messages. Bit I need to change the PHP version, sicne 7.4 is unsupoorted. Here ist the below message from STRATO.

Thanks for your support!

Kind Regards

Erwin

Ausnahmetyp: TypeError
Datei: /mnt/web414/a3/50/57002350/htdocs/j4ll_live/plugins/system/admintools/src/Feature/Shield404.php Zeile:
63
Meldung: array_map(): Argument #2 ($array) muss vom Typ Array sein, String angegeben

#0 /mnt/web414/a3/50/57002350/htdocs/j4ll_live/plugins/system/admintools/src/Feature/Shield404.php(63): array_map() #1 /mnt/web414/a3/50/57002350/htdocs/j4ll_live/plugins/system/admintools/src/Extension/AdminTools.php(837): Joomla\Plugin\System\AdminTools\Feature\Shield404->onError() #2 /mnt/web414/a3/50/57002350/htdocs/j4ll_live/plugins/system/admintools/src/Extension/AdminTools.php(334): Joomla\Plugin\System\AdminTools\Extension\AdminTools-> runFeature() #3 /mnt/web414/a3/50/57002350/htdocs/j4ll_live/libraries/vendor/joomla/event/src/Dispatcher.php(486): Joomla\Plugin\System\AdminTools\Extension\AdminTools->onError() #4 /mnt/web414/a3/50/57002350/htdocs/j4ll_live/libraries/src/Application/EventAware.php(111): Joomla\Event\Dispatcher->dispatch() #5 /mnt/web414/a3/50/57002350/htdocs/j4ll_live/libraries/src/Application/CMSApplication.php(309): Joomla\CMS\Application\WebApplication-> triggerEvent() #6 /mnt/web414/a3/50/57002350/htdocs/j4ll_live/includes/app.php(63): Joomla\CMS\Application\CMSApplication->execute() #7 /mnt/web414/a3/50/57002350/htdocs/j4ll_live/index.php(32): require_once('...') #8 {main}

Request information GET variables

Array ( [dd445120490e6704574eee3c9e53acca] => )

POST variables

Array ( )

COOKIE variables

Array ( [atumSidebarState] => open [astroid-default-tab] => #astroid-tab-astroid_layout [cookieconsent_status] => dismiss [cookieconsent_dismissed] => yes [jbcookies] => yes [7f1a100d5a0b2d8b91edd536e28fafbc] => omfjfti7n6ldefh3f8pf2i7lbl [d59bba3a5ff7794707bca132464751ba] => kmu7b0s6o54o2d4dc9bje10932 [8d232f40ae887d50f17af273532983f8] => 12m42g8gs83qk2imua4c67asjm [3b75e91dc450efde1f6746399640fcb] =>  705sjt9u24nlt5i5ndohvekps9 [83fc71495782bc0b5bbd4d3189b42ea7] => s2mmbmhejp3f334teekkfhiesb [253f21fd8daa9c16a96556928b24aa31] => 7jcfjibcn0ka8637fchqocfghb )

REQUEST variables

Array ( [dd445120490e6704574eee3c9e53acca] => [atumSidebarState] => open [astroid-default-tab] => #astroid-tab-astroid_layout [cookieconsent_status] => dismiss [cookieconsent_dismissed] => yes [jbcookies] => yes     [7f1a100d5a0b2d8b91edd536e28fafbc] => omfjfti7n6ldefh3f8pf2i7lbl [d59bba3a5ff7794707bca132464751ba] => kmu7b0s6o54o2d4dc9bje10932 [8d232f40ae887d50f17af273532983f8] => 12m42g8gs83qk2imua4c67asjm [8d232f40ae887d50f17af273532983f8] => 12m42g8gs83qk2imua4c67asjm3b75e91dc450efde1f67463996640fcb] => 705sjt9u24nlt5i5ndohvekps9 [83fc71495782bc0b5bbd4d3189b42ea7] => s2mmbmhejp3f334teekkfhiesb [253f21fd8daa9c16a96556928b24aa31] => 7jcfjibcn0ka8637fchqocfghb )

SERVER variables

 Array ( [REDIRECT_STATUS] => 200 [UNIQUE_ID] => YeQdHoPykwMb0Rk3hSfvgQAAAwM [SCRIPT_URL] => /administrator/plugins/system/uikit3/js/uikit-icons.js [SCRIPT_URI] => https://lebenslinien-ev.de/administrator/plugins/system/uikit3/js/uikit-icons.js [HTTPS] => on [DOCUMENT_ROOT] => /home/strato/http/premium/rid/23/50/57002350/htdocs/j4ll_live/ [RZ_php] => 80 [PHPRC] => /home/strato/http/premium/rid/23/50/57002350/htdocs/j4ll_live/     [HTTP_AUTHORIZATION] => [HTTP_HOST] => lebenslinien-ev.de [HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0 [HTTP_ACCEPT] => */* [HTTP_ACCEPT_LANGUAGE] => de,fr-FR;q=0.7,en;q=0.3 [HTTP_ACCEPT_ENCODING] => gzip, deflate, br [HTTP_REFERER] = [HTTP_COOKIE] => atumSidebarState=open; astroid-default-tab=%23astroid-tab-astroid_layout; cookieconsent_status=ablehnen; cookieconsent_dismissed=ja; jbcookies=ja; 7f1a100d5a0b2d8b91edd536e28fafbc=omfjfti7n6ldefh3f8pf2i7lbl; d59bba3a5ff7794707bca132464751ba=kmu7b0s6o54o2d4dc9bje10932; 8d232f40ae887d50f17af273532983f8=12m42g8gs83qk2imua4c67asjm; 3b75e91dc450efde1f67463996640fcb=705sjt9u24nlt5i5ndohvekps9; 83fc71495782bc0b5bbd4d3189b42ea7=s2mmbmhejp3f334teekkfhiesb; 253f21fd8daa9c16a96556928b24aa31=7jcfjibcn0ka8637fchqocfghb [HTTP_SEC_FETCH_DEST] => script [HTTP_SEC_FETCH_MODE] => no-cors [HTTP_SEC_FETCH_SITE] => same-origin [HTTP_CONNECTION] => close [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin [SERVER_SOFTWARE] => Apache/2.4.51 (Unix) [SERVER_NAME] => lebenslinien-ev.de [SERVER_PORT] => 443 [REMOTE_ADDR] => 217.225.155.116 [SERVER_ADMIN] => [email protected] [SCRIPT_FILENAME] => /home/strato/http/premium/rid/23/50/57002350/htdocs/j4ll_live/index.php [REMOTE_PORT] => 61093 [REDIRECT_URL] => /administrator/plugins/system/uikit3/js/uikit-icons.js [REDIRECT_QUERY_STRING] => dd445120490e6704574eee3c9e53acca [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => dd445120490e6704574eee3c9e53acca [REQUEST_URI] =>  /administrator/plugins/system/uikit3/js/uikit-icons.js?dd445120490e6704574eee3c9e53acca [SCRIPT_NAME] => /index.php [PHP_SELF] => /index.php [REQUEST_TIME_FLOAT] => 1642339614.6099 [REQUEST_TIME] => 1642339614 [argv] => Array ( [0] => dd445120490e6704574eee3c9e53acca ) [argc] => 1 )

nicholas
Akeeba Staff
Manager

This may happen when settings are migrated from an older (6.x) version.

Go to Components, Admin Tools, Web Application Firewall, Configure WAF and click on Save & Close.

This will reshape the data in the database and will make this problem go away.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

nicholas
Akeeba Staff
Manager

I forgot to also mention something important : when you upgrade to Admin Tools 7.0.10 (you are using version 7.0.9) this problem no longer exists; we have added code in the system plugin to automatically work around legacy data which has not been migrated cleanly.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

[email protected]

Thanks, that helped..!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!