Recent Topics

6.9.5 - Won't load as expected, showing deprecated errors (__autoload(), create_function() )

Started by on Feb 16, 2018 – Contents updated: Feb 18, 2018

Feb 16, 2018 11:07    

Just noticed now that my blog is not working as it did yesterday. I suspect this being an issue at my hosting provider and not actually caused by my B2 instance (6.9.5), but need to be sure. The server is running PHP Version 7.2.2. The errors I get for my blog http://hellem.org/blog is


Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/hellem/public_html/blog/inc/_core/_class_loader.funcs.php on line 55
Deprecated: Function create_function() is deprecated in /home/hellem/public_html/blog/inc/_core/_url.funcs.php on line 817
Deprecated: Function create_function() is deprecated in /home/hellem/public_html/blog/inc/_core/_url.funcs.php on line 818
Warning: Cannot modify header information - headers already sent by (output started at /home/hellem/public_html/blog/inc/_core/_class_loader.funcs.php:55) in /home/hellem/public_html/blog/inc/_core/_misc.funcs.php on line 6763
Headers have already been sent in _class_loader.funcs.php on line 55.
Cannot redirect.

My first guess is just to sit and wait for the problem to solve it self (that is, my hosting providerfixing stuff) and that it should be no need for me to do anything. Or could it that they all of a sudden has upgraded for instance PHP without me noticing it. That is - could PHP versjon 7.2.2 be causing the errors?

Feb 16, 2018 11:17

And then, when asking the question " That is - could PHP versjon 7.2.2 be causing the errors?" it did actually answer it. Yes, the version did matter. Because when finding the current PHP-version in the admin console of my domain, I noticed a system message saying (without any dates, but still, that PHP versions 7.0 and higher was available, and that I could by my own select the version for my domain. So I downgraded to PHP 5.6 and voila, problem solved, hopefully without introducing other problems as well.

Feb 18, 2018 03:55

Yes we'll fix that for PHP 7.2.2


Form is loading...

blog soft – This forum is powered by b2evolution CMS, a complete engine for your website.