Forums | Mahara Community

Support /
problem upgrading front 1.4.1 to 1.8.1 with class class PluginSearchSolr


20 February 2014, 21:59

I download the lastest mahara 1.8.1 and I try to use a copy of the database of my mahara 1.4.1 but I find these problems:

- I can't login as admin user.

- I select update now (/admin/upgrade.php) but I get an emply page.

My apache error log show this line:

[Thu Feb 20 09:49:32 2014] [error] [client 150.214.54.205] PHP Fatal error:  Cannot make non static method PluginSearchInternal::save_config_options() static in class PluginSearchSolr in /var/www/html/mahara/search/solr/lib.php on line 761, referer: http://xxxx/?login

Robert Lyon's profile picture
Posts: 774

21 February 2014, 8:27

Hi Jesús

The Solr plugin is not part of the 1.8 core plugin files - so if you are not using it you can delete the plugin.

If you are uising the plugin then you can change the line in /search/solr/lib.php

  public static function save_config_options($values) {
to
  public function save_config_options($values) {

and that should also sort out the problem

Cheers

Robert

24 February 2014, 21:41

Thanks, your information solves my problem.

3 results