Monday, 05 June 2023
  5 Replies
  1.2K Visits
0
Votes
Undo
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
Wednesday, 05 July 2023 13:03
·
#231418
Accepted Answer
0
Votes
Undo
I'm sorry for the late reaction. Normally i'm very willing to help. Now i just installed the latest version and everything seems to work great. Thanks
edthenet set the type of the post as  Technical — 3 years ago
Tuesday, 06 June 2023 10:21
·
#231035
0
Votes
Undo
Can you change line 515 of the referenced file to read


$jevtask = $input->getString("jevtask", "");

Does that resolve the deprecation message?
Wednesday, 05 July 2023 13:03
·
#231418
Accepted Answer
0
Votes
Undo
I'm sorry for the late reaction. Normally i'm very willing to help. Now i just installed the latest version and everything seems to work great. Thanks
geraint selected the reply #231418 as the answer for this post — 3 years ago
Sunday, 27 August 2023 16:06
·
#231956
0
Votes
Undo
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 we expect the Jevents people to fix this?
Tuesday, 05 September 2023 11:40
·
#232014
0
Votes
Undo
sillitoe

Can you disable error reporting in Joomla to hide this PHP notice. It will be resolved in the next release
Tuesday, 05 September 2023 13:57
·
#232020
0
Votes
Undo
No problem at all, if it's resolved soon. Thanks a lot.
  • Page :
  • 1
There are no replies made for this post yet.