Non-static method errors

Found a bug? Tell us!!
Post Reply
mdwylde
Regular
Posts: 17
Joined: Wed Apr 20, 2016 10:23 pm

Non-static method errors

Post by mdwylde » Mon Jun 13, 2016 8:45 pm

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

User avatar
garvinhicking
Core Developer
Posts: 30014
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Non-static method errors

Post by garvinhicking » Tue Jun 14, 2016 9:33 am

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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

Post Reply