PHP 8.1.17
Go to access settings for article in backend or edit article with user that does not have access to change access settings.
No error
Deprecated: strrpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /libraries/src/Access/Access.php on line 776
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /libraries/src/Access/Access.php on line 744
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
Information Required
|
Solved it. Issue was that article was "copied" from one site XXX_content to another without also copying XXX_assets information. So it was basically missing a row with rules and therefore the parameters were null. So issue was not with code.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-04-04 18:48:36 |
Closed_By | ⇒ | Attila-SWE |
@Attila-SWE Thanks for reporting back.
@Attila-SWE Which Joomla version have you used? I was not able to get these deprecated warnings on a current 4.3-dev branch. So maybe that has been already fixed and will be in the next 4.3.0 release? Could you try to reproduce it e.g. with the latest 4.3 nightly build from here https://developer.joomla.org/nightly-builds.html ? Or maybe describe more detailed how you could produce these warnings?