Jump to content
medvid

Who's Online Enhancement 1.4

Recommended Posts

My hosting provider upgraded my site to PHP v7.0.19. Now, the add-on is not loading at all, just the left menu bar. Did anybody else ran into the incompatibility issues? Any proposed fixes to make it work again?

Thanks.

Share this post


Link to post
Share on other sites

I enabled error reporting, and here is what I got:

Quote

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; currencies has a deprecated constructor in /public_html/shop/admin/includes/classes/currencies.php on line 16

Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in /public_html/shop/admin/whos_online.php:185 Stack trace: #0 /public_html/shop/admin/whos_online.php(215): updateIps('66.249.79.86,18...') #1 /public_html/shop/admin/whos_online.php(376): add_geolocation() #2 {main} thrown in /public_html/shop/admin/whos_online.php on line 185

 

Share this post


Link to post
Share on other sites

If I change mysql to mysqli, the error is gone.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×