By Tony Boutemeur on Wednesday, 14 March 2018
Posted in General
Likes 0
Views 793
Votes 0
Hello,

When I updated to php 7.1.15, I have got these error lines on each page with Office Template:

Warning: A non-numeric value encountered in ~/public_html/plugins/system/officehelix3/core/officehelix3.php on line 472

Warning: A non-numeric value encountered in ~/public_html/plugins/system/officehelix3/core/officehelix3.php on line 472

Warning: A non-numeric value encountered in ~/public_html/plugins/system/officehelix3/core/officehelix3.php on line 472

Warning: A non-numeric value encountered in ~/public_html/plugins/system/officehelix3/core/officehelix3.php on line 472

Warning: A non-numeric value encountered in ~/public_html/plugins/system/officehelix3/core/officehelix3.php on line 472

Warning: A non-numeric value encountered in ~/public_html/plugins/system/officehelix3/core/officehelix3.php on line 472


Code on line 472 in officehelix3.php file:


$column->className = 'col-sm-' . (self::getColXsNo($column->className) + $last_col) . ' col-md-' . (self::getColXsNo($column->className) + $last_col);


Do you have the right code, it seems this is a compatibility trouble with php 7.1.x version?
Strange, it doesn't allow me to login with the same username / password on the front end but it works on the back end

By the way, I have applied some fixes for you on the site and it should be fixed now. We'll also update Helix3 internally so that it would be compatible with PHP 7.1.5
·
Wednesday, 14 March 2018 22:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Tony,

It seems like PHP 7.1 introduced a new warning message when a non numeric value is being forced to be computed with numerical operators. By the way, I am trying to replicate this error message on the site but can't seem to login on the front end.

Are there any special user accounts that I need to login to the front end so that I can troubleshoot on this directly?
·
Wednesday, 14 March 2018 22:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

This is the same. You could use my admin account to access in back end or front end.
·
Wednesday, 14 March 2018 22:09
·
0 Likes
·
0 Votes
·
0 Comments
·
thank you mark.

About login, maybe it's a trouble with joomla 3.8.6, at this time, there is a trouble with language plugin filter.
I had to disabling this plugin to get the user page.
With the new joomla update I have got this: "Nesting level too deep - recursive dependency? in joomla/libraries/joomla/event/dispatcher.php on line 198"
when I disabled the joomla language filter plugin, the error deasappered.
·
Wednesday, 14 March 2018 22:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Tony,

Hm, that's strange because I am hitting a different error altogether, http://take.ms/cpQG4
·
Wednesday, 14 March 2018 22:46
·
0 Likes
·
0 Votes
·
0 Comments
·
"one more session is running" this is the answer.

I think I was connected too with my admin account on front end.
·
Wednesday, 14 March 2018 22:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Ah I see. Strange I never knew Joomla had such features. I need to explore Joomla 3.8.6 haha
·
Wednesday, 14 March 2018 22:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Exactly this is maybe a new feature, maybe inside this: "Various session management improvements"
·
Wednesday, 14 March 2018 22:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Haha, it could be, will need to explore it
·
Wednesday, 14 March 2018 23:10
·
0 Likes
·
0 Votes
·
0 Comments
·
lol I also received an email alert saying "Login violation"
·
Wednesday, 14 March 2018 23:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Cool, maybe this would be much more secure
·
Wednesday, 14 March 2018 23:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, it's interesting
·
Wednesday, 14 March 2018 23:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Yep, by the way, do start a new ticket if you ever hit such errors again (in case we missed any other pages)
·
Wednesday, 14 March 2018 23:44
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post