1. crimle
  2. JEvents 3.4 (Free Access)
  3. Monday, 03 October 2022
I have a number of Joomla 3 and Joomla 4 websites and PHP 8. Creating a new event results in this error message
version_compare(): Argument #3 ($operator) must be a valid comparison operator


Thank you and kind regards
Chris
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Can you enable Joomla debug mode so we can see where this is being incorrectly used
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!
Accepted Answer Pending Moderation
0
Votes
Undo
This is being displayed when debug mode is enabled
Fehler_ 0 version_compare()_ Argument 3 ($operator) must be a valid comparison.png
Attachments (1)
skurvish
Contributor
Accepted Answer Pending Moderation
0
Votes
Undo
geraint you have a space after the lt in the third operand on this line.

Also, I noticed a number of version_compares for PHP_VERSION of 5.3 where the comparison operator is not present. This is OK based on what is allowed however you might consider changing these for consistency. I haven't looked at RSVP.
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
thanks skurvish - that is indeed the problem. I'll fix it for the next release (tomorrow probably)
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!
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

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.