By andreas1602 on Thursday, 04 February 2016
Replies 15
Likes 0
Views 3.9K
Votes 0
Hello,

i test local the new joomla 3.5.0 beta 2 version with xampp and PHP 7.02 Version.

Installed is the last version of jevents 3.4.4.

When i open a calender view i get these errors:

Notice: Array to string conversion in E:\Projekte\xampp\htdocs\joFFWS\components\com_jevents\libraries\registry.php on line 83

Notice: Array to string conversion in E:\Projekte\xampp\htdocs\joFFWS\components\com_jevents\libraries\registry.php on line 85

Notice: Array to string conversion in E:\Projekte\xampp\htdocs\joFFWS\components\com_jevents\libraries\registry.php on line 121

It seems the JEvents not PHP 7 compatible? The update to joomla 3.5.0 will appear in mid-February and I planned to change to PHP 7.

Here the support information:

PHP Version : 7.0.2
MySQL Version : 5.5.5-10.1.10-MariaDB
Server Information : Windows NT AD-PC 10.0 build 10586 (Windows 10) i586
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 1000
Club code set? : No
User Agent : Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.82 Safari/537.36 OPR/35.0.2066.37
Joomla : 3.5.0-beta2
component_com_jevents : 3.4.4
component_com_jce : 2.5.14
module_mod_jevents_cal : 3.4.4
module_mod_jevents_custom : 3.4.4
module_mod_jevents_filter : 3.4.4
module_mod_jevents_latest : 3.4.4
module_mod_jevents_legend : 3.4.4
module_mod_jevents_switchview : 3.4.4
plugin_content_jevents : 3.4.4
plugin_finder_jevents : 3.4.4
plugin_search_eventsearch : 3.4.4
plugin_system_gwejson : 3.4.4


Thank you

Andreas
Hello Andreas,

JEvents will be tested on Joomla! 3.5 when Joomla! reaches RC.

Thee are Notices and nothing to worry about. Just reduce your PHP Error Reporting. However, I doubt JEvents will be fully PHP7.0 compliant as it stands.

Note, DO NOT use php7 and Joomla! 3.5.0-beta on any production sites.

Many thanks
Tony
·
Thursday, 04 February 2016 19:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank You,

I can wait, next year my Provider will stop Support for Php 5.6. I will test next time jevents when the joomla rc is out.

Maybe the problem is bigger, the joomla side chrashed after notice. But i get no error message details.

Andreas
·
Thursday, 04 February 2016 19:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

now i have more Information. After the notice entries i get the message "Call to a member function getCatidsOutLink() on null" and the joomla page chrashed.

Perhaps this information is useful for you.

Andreas
·
Friday, 05 February 2016 07:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Andreas,

Do you get this when you click into an event?

Many thanks
Tony
·
Friday, 05 February 2016 22:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

no, when i open the calender view, Display by Month.

index.php?option=com_jevents&view=month&layout=calendar

I use the default layout., with Navigation Icons.

Andreas
·
Saturday, 06 February 2016 07:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

short info, i test the new jevents version 3.4.5 with the lastest joomla 3.5.0 beta3 and php version 7.02.

I get the same error if i open a calender view:

Call to a member function getCatidsOutLink() on null.

Andreas
·
Friday, 04 March 2016 16:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Andreas,

Yep we know. We are only just testing JEvents in PHP7 and Joomla! 3.5.

Many thanks
Tony
·
Saturday, 05 March 2016 06:50
·
0 Likes
·
0 Votes
·
0 Comments
·
I found the cause of this - in php 7 the code
$ns->$nodes[$i]
needs to be replaced with
$ns->{$nodes[$i]}


If you unzip and upload this file to components/com_jevents/libraries/registry.php it will resolve this issue.

I'll include this in a new release in the next few days
·
Wednesday, 09 March 2016 10:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Geraint

thank you very much. It works, i change and test it on my local server and it works fine. Also the warnings "Notice: Array to string conversion in" are now fixed (but i did not change anything to the PHP 7.02 settings).

Andreas
·
Friday, 11 March 2016 06:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Andreas,

Glad to hear, we are actively working on PHP7 implementation now.

Many thanks
Tony
·
Friday, 11 March 2016 06:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, My host is about to upgrade to Maria Database 10 & PHP7.

Is this ok?


PHP Version : 5.5.31
MySQL Version : 5.5.44-MariaDB
Server Information : Linux server.xxxxxxxxxxcom 2.6.32-573.18.1.el6.x86_64 #1 SMP Tue Feb 9 22:46:17 UTC 2016 x86_64
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 2000
Club code set? : Yes
User Agent : Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0
Joomla : 3.5.1
component_com_jevents : 3.4.9
component_com_jevlocations : 3.4.4
component_com_sh404sef : 4.3.0.1671 (sh404sef system plugins not enabled)
component_com_jce : 2.5.16
module_mod_jevents_cal : 3.4.9
module_mod_jevents_categories : 3.0.7
module_mod_jevents_custom : 3.4.9
module_mod_jevents_dynamiclegend : 3.0.5
module_mod_jevents_filter : 3.4.9
module_mod_jevents_latest : 3.4.9
module_mod_jevents_legend : 3.4.9
module_mod_jevents_switchview : 3.4.9
module_mod_jevlocations : 3.4.4
layout_extplus : 3.2.4
layout_iconic : 3.5.0
layout_map : 3.0.12
layout_ruthin : 3.2.5
layout_smartphone : 3.0.10
·
Sunday, 10 April 2016 15:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Yes that's fine, just make sure that your error reporting is turned down to none or simple at the most in your Joomla! config.

Many thanks
Tony
·
Monday, 11 April 2016 08:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Alright thanks, I expect no problems then
·
Monday, 11 April 2016 09:08
·
0 Likes
·
0 Votes
·
0 Comments
·
It should be fine, but be on hand to monitor your site as you will also need to chat other components, modules, plugins and templates are supportive of PHP7.

Many thanks
Tony
·
Monday, 11 April 2016 09:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, I did ask all major developers :-), I guess there will be some plugins that I just have to deinstall when they cause a conflict. I will let you know as of Friday :-)
·
Monday, 11 April 2016 09:33
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post