News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

ssi_logOnline error?

Started by lurkalot, June 26, 2017, 03:39:39 AM

Previous topic - Next topic

lurkalot

Didn't see this anywhere, so thought I'd ask.

Been getting errors in the log from portal block using  ssi_logOnline  The block works ok, but generates this error in the log every time the page loads.

Type of error: General 
https://xxxxxx.com/tp13/index.php?
8: A non well formed numeric value encountered
File: /home/xxxxxx/public_html/tp13/Sources/Subs.php
Line: 756

Forum version: SMF 2.0.14 (more detailed)
Current SMF version: SMF 2.0.14
GD version: bundled (2.1.0 compatible)
MySQL version: 5.6.35-log
PHP: 7.1.5
Server version: Apache

Seems ok in 2.0.13 and below, but this site is running 2.0.14 and PHP 7.1  Is this a known bug?

Shambles

I get a lot of these after upshifting to PHP 7.1.5

Looks like there's been a tightening up of is_numeric (etc) types of checks.

https://www.simplemachines.org/community/index.php?topic=554574.msg3931125#msg3931125

Arantor

Not a known bug, but if you can post 20 lines either side of that line for you, I'll see what we can do about it.

If it is where I think it is, it might not be a quick win...

lurkalot

Quote from: Arantor on June 26, 2017, 06:54:55 AM
Not a known bug, but if you can post 20 lines either side of that line for you, I'll see what we can do about it.

If it is where I think it is, it might not be a quick win...

Thanks.  I'm not testing this on my host, I'm testing it on a friends test site. It has a fresh install of SMF 2.0.14 and TP1.3 is the only mod.  Hopefully he will be able to supply the file.

Arantor

If it's fresh SMF 2.0.14 plus TP 1.3, I can probably install that myself, fairly sure I still have the files lurking around :)

Advertisement: