By Berndi on Friday, 15 January 2021
Replies 15
Likes 0
Views 1.7K
Votes 0
Hello folks,

I switched my webserver to php8 and my joomla (with jewents) dosen't work anymore.

Is it a problem with joomla or with the jevents-plugin?

regards,
Berndi
That is the one - version 3.10.1 is the latest release.
·
2 years ago
·
0 Likes
·
1 Votes
·
0 Comments
·
PHP 8 is pretty cutting edge and I would suggest waiting a couple more months before using it on a live site.

If you enable Joomla debug mode and error reporting to maximum what error information do you get?
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
there were many errors that could be related to jevents
i switched allready back to 7.3 because the site wouldn't work anymore with php8
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,
i also testing my website with PHP 8.
Had some templateproblems, but i fixed it.

JEvents 3.6.12 works with PHP 8,
but i get some deprecated-messages:

Frontend:

eprecated: Required parameter $name follows optional parameter $itemid in \administrator\components\com_jevents\controllers\icalrepeat.php on line 767

Deprecated: Required parameter $live_site follows optional parameter $subject in \components\com_jevents\libraries\commonfunctions.php on line 443

Deprecated: Required parameter $modifylink follows optional parameter $subject in\rg\components\com_jevents\libraries\commonfunctions.php on line 443

Deprecated: Required parameter $viewlink follows optional parameter $subject in \components\com_jevents\libraries\commonfunctions.php on line 443

Deprecated: Required parameter $event follows optional parameter $template_name in \administrator\components\com_jevents\views\abstract\abstract.php on line 269

Deprecated: Required parameter $mask follows optional parameter $template_name in \administrator\components\com_jevents\views\abstract\abstract.php on line 269

Deprecated: Required parameter $event follows optional parameter $admin in \components\com_jevents\libraries\jeventshtml.php on line 737

Deprecated: Required parameter $newcolor follows optional parameter $event_id in \components\com_jevents\libraries\jeventshtml.php on line 861

Backend:

Deprecated: Required parameter $event follows optional parameter $template_name in \administrator\components\com_jevents\views\abstract\abstract.php on line 269

Deprecated: Required parameter $mask follows optional parameter $template_name in \administrator\components\com_jevents\views\abstract\abstract.php on line 269

Deprecated: Required parameter $live_site follows optional parameter $subject in \components\com_jevents\libraries\commonfunctions.php on line 443

Deprecated: Required parameter $modifylink follows optional parameter $subject in \components\com_jevents\libraries\commonfunctions.php on line 443

Deprecated: Required parameter $viewlink follows optional parameter $subject in \components\com_jevents\libraries\commonfunctions.php on line 443

But i can wait for the fix.
Just testing
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
These are all deprecation messages - for a live server you should set the error reporting to none in the Joomla config. I'll review the messages for the next release but these are not fatal errors so far
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Note, Joomla! isn't actually fully compatible with PHP8 yet so it's highly not advised!
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you.
I just testing my website with php8.

But it has time. No problem!
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Everyone !
Do we have an update on that subject?
I have been having the exact same issue for a while and I have no choice but to shift top php 8.0.(managed to fix all my other joomla issues)

Is there a mean to bypass the problem in the meantime?

Thanks a lot
have a nice day
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
My J3.10.8 site works perfectly in PHP 7.4.3, but when I switch to 8.0.18, I get this error on the calendar web page:


count(): Argument #1 ($value) must be of type Countable|array, int given


And a 500 error in the log. When I unpublish the JEvents - Latest Events Module (3.6.34,April 2022), the page loads fine (minus the calendar, of course).
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
After troubleshooting this further, it appears that except for the first option (Date, Time, Title), all of the predefined custom layouts in the JEvents - Latest Events Module 3.6.34 cause a 500 error in PHP8, with this error in the browser window:
count(): Argument #1 ($value) must be of type Countable|array, int given

All custom layout options in this module work as expected in PHP 7.4.
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you enable Joomla debut mode so we get the full context of the error? Or give us login details on the private site details tab below
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Debug mode is now on.

Thank you in advance for your help!
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
What version of the JEvents Structured Images and Files plugin do you have installed?

Your line numbers don't match the latest codebase. I suspect you need to upgrade this plugin.
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
I don't see a plugin by that name. I have JEvents - File and Image uploads for Event Descriptions 3.7.14. Do I just need to upgrade that?
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
The latest version of the plugin is version 3.10.6 - I suspect upgrading it will resolve your issue
·
1 year ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post