I have updated a website to Joomla 4 and with that update i also want to switch to PHP8.1
But i get errors like this in the front-end and simular error on the back-end dashboard
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/fabriek/domains/fabriekske.be/public_html/mm4/components/com_jevents/libraries/dbmodel.php on line 522
Can you change line 515 of the referenced file to read
$jevtask = $input->getString("jevtask", "");
Does that resolve the deprecation message?
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
I have a similar problem with PHP 8.1 but not with the same file.
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/customer/www/eume.upf.org/public_html/components/com_jevents/views/default/helpers/defaultgetstartenddates.php on line 47
Can you disable error reporting in Joomla to hide this PHP notice. It will be resolved in the next release
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
No problem at all, if it's resolved soon. Thanks a lot.
Page :
1
There are no replies made for this post yet.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »