Ojs error after install reviewer plugin

hi i got this error after installing the reviewer index plugin. the plugin page went blank.

im on ojs 2.4.8

[Tue Mar 08 07:37:51 2016] [error] [client] ojs2 has produced an error\n Message: WARNING: assert() [function.assert]: Assertion failed\n In file: /home/penerbit/public_html/ojs/lib/pkp/classes/plugins/PluginRegistry.inc.php\n At line: 241\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.2.10\n Apache Version: Apache/2.2.3 (CentOS)\n DB Driver: mysql\n DB server version: 5.0.95, referer: http://penerbit.uthm.edu.my/ojs/index.php/index

Hi @mohd_arshad,

I suspect that plugin, which is quite old, is not compatible with OJS 2.4.x. To find out for sure, you’d need to contact the plugin’s author; we didn’t write that plugin here at PKP.

Regards,
Alec Smecher
Public Knowledge Project Team

how to uninstall or remove the plug in manually? the plugin doesnt register at the plugin page and i cannot access the plugin manager.

Hi @mohd_arshad,

You should be able to find the plugin in plugins/generic/reviewerIndex. Move that directory outside of your OJS installation and the plugin should be effectively removed.

Regards,
Alec Smecher
Public Knowledge Project Team

manage to do that and now can access to the plug in page. tqvm. about the error what can cause it or any othe way to solve the error. it makes the page not responsive, need to press f5 then the page load.

ojs2 has produced an error\n Message: WARNING: assert() [function.assert]: Assertion failed\n In file: /home/penerbit/public_html/ojs/lib/pkp/classes/plugins/PluginRegistry.inc.php\n At line: 241\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.2.10\n Apache Version: Apache/2.2.3 (CentOS)\n DB Driver: mysql\n DB server version: 5.0.95

Hi @mohd_arshad,

The simple answer is that the plugin isn’t compatible with OJS 2.4.x. As we release newer versions of OJS, aspects of the software will change, and occasionally we’ll make changes that break backwards-compatibility for plugins. Because plugins can alter nearly every aspect of the system it’s impossible for us to predict how older plugins will be affected, especially if they weren’t written by us. The assertion error says that the plugin didn’t extend the class it was supposed to extend.

Regards,
Alec Smecher
Public Knowledge Project Team

Tq for reply. Now its really affecting the site. I need to clear the cache manually. If not the site of the journal is not accessible.

How to install a fresh 2.4.8 and migrate the data?

Hi @mohd_arshad,

Can you describe how it’s affecting the site?

If you want to get a fresh copy of OJS 2.4.8 and migrate your data into it, see the OxS Quick reference document on backups and restoring. That describes the components of an installation; the only difference is that you’ll be taking the code from the OJS .tar.gz file rather than the (possibly broken) copy from your own server.

Regards,
Alec Smecher
Public Knowledge Project Team

after more checking its another old plug in that affecting the site. its the most popular article plug in.
manually remove the folder of the plugin and all the error stop.

the site is fine and dandy now like it use to be. vanilla.
i will stop using old plug in now.

thanks for your reply.

Hi @mohd_arshad,

Glad you got it going! The plugin ecosystem will be much nicer to work with when we release OJS 3.0, which will have a better plugin discovery and compatibility mechanism.

Regards,
Alec Smecher
Public Knowledge Project Team

Dear Sir,

Any tentative deadlines for the release of OJS 3.0 ??
Can you please share the timelines for OJS 3.0?

Kind Regards,
Farhan Abbas,
Software Engineer | Web Developer DBA | System Analyst
King Edward Medical University

Its already been released… Do check it out throughly before migrating.

Here is the link

Yes, Thanks for the information I actually visited OJS site after posting my question as I was not expecting to find a working release of OJS 3.0 (as I was in constant touch with the alpha and beta releases) but I was very happy to find a production release of OJS 3.0 and once again hats off to PKP team.

I have also made some Feature requests for future developments in OJS as they have made their presence felt with the passage of time. and I hope PKP team will consider it to some extent.

Regards,
Farhan

Hi @Farhan_Abbas,

Thanks, glad you’re finding it useful – we’re working hard on OJS 3.0.2 next, which is due for release soon.

Regards,
Alec Smecher
Public Knowledge Project Team