You need to be logged in to view a user's profile.
edthenet
  edthenet
Bronze Member
  Monday, 05 June 2023
  5 Replies
  507 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
10 months ago
·
#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 — 11 months ago
11 months ago
·
#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?

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!

10 months ago
·
#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 — 10 months ago
8 months ago
·
#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?
8 months ago
·
#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

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!

8 months ago
·
#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.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.