No Code Attached Yet PHP 8.x
avatar anteud3000
anteud3000
3 Aug 2022

Steps to reproduce the issue

I've recently built a J4 (4.1.5) website from scratch on a MAMP localhost running PHP 7.4.21 and everything has been working fine.

I updated the PHP version to 8.0.8 and attempted to created a streamlined client admin area having a Custom client admin (see https://magazine.joomla.org/all-issues/ ... experience) and everything worked fine UNTIL I tried to add a menu item to the client admin menu.

Expected result

When I select "Menu Item Type" a list of items should appear

Actual result

When I select "Menu Item Type" I receive the notification -

"An error has occurred.

0 strlen(): Argument #1 ($string) must be of type string, array given

screen shot 2022-08-03 at 10 52 25

System information (as much as possible)

screen shot 2022-08-03 at 10 54 40

Additional comments

If I rollback to PHP version 7.4.21 everything works as expected so I'm wondering if this might be a J4 / PHP 8 bug?

avatar anteud3000 anteud3000 - open - 3 Aug 2022
avatar anteud3000 anteud3000 - change - 3 Aug 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Aug 2022
avatar joomla-cms-bot joomla-cms-bot - change - 3 Aug 2022
Labels Added: No Code Attached Yet
avatar chmst chmst - change - 3 Aug 2022
Labels Added: PHP 8.x
avatar chmst chmst - labeled - 3 Aug 2022
avatar anteud3000
anteud3000 - comment - 4 Aug 2022

It would appear this problem was linked to the component OSMap Free? I disabled the component and everything started to work as expected


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38381.

avatar alikon
alikon - comment - 4 Aug 2022

so not a core issue let's close it then

avatar alikon alikon - close - 4 Aug 2022
avatar alikon alikon - change - 4 Aug 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-08-04 10:10:39
Closed_By alikon

Add a Comment

Login with GitHub to post a comment