Page 1 of 1

Non-static method errors

Posted: Mon Jun 13, 2016 8:45 pm
by mdwylde
Hello --

I have been trying to solve a problem for a while that our Serendipity website is not loading at http://eartharchitecture.org/ (See previous forum listing for history.) At this point, I believe we've solved the database issue but I am now getting new errors. Several examples are listed below.

Can you please advise on how to proceed to solve this type of error.

Thank you,
Marge d'WYlde

Non-static method serendipity_plugin_api::get_event_plugins() should not be called statically in /home1/raelsanf/public_html/eartharchitecture/serendipity/include/plugin_api.inc.php on line 1041

Non-static method serendipity_plugin_api::enum_plugins() should not be called statically in /home1/raelsanf/public_html/eartharchitecture/serendipity/include/plugin_api.inc.php on line 985

Re: Non-static method errors

Posted: Tue Jun 14, 2016 9:33 am
by garvinhicking
Hi!

Are you using the recent s9y version? Those errors usually only happen if you have a more recent PHP version that older s9y versions where not built to work with. When I look at your site it seems as if version 1.6.2 is running, this is really ancient. :-)

An update from 1.6.2 to 2.0 should not be too hard, just copying over the files of the recent release over your current directory should show you the upgrader panel once you go to the backend, and then you can just confirm the database upgrades.

Of course you should create a backup of the database and the files before, in case you might need to restore anything. Also make sure that if you manually ever edited any core files of s9y, you will need to implement your changes again after the upgrade.

HTH,
Garvin