Problem with AppLocale() in differents ojs versions

Hi, I have a custom made plugin installed in two different instances of OJS (version 2.4.5 and one and 2.4.6 the other), and I have a problem using the AppLocale class, in the 2.4.6 version it works fine, but in the 2.4.5 it says that the class is not found and I need to use the Locale class. Why could be happening this? How can I write the plugin to work with the two OJS versions?

Hi @cccaballero,

We used to include a Locale class but that’s much older than OJS 2.4.5; are you sure it’s not something like 2.3.5?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher, thanks for your answer.

The system information (from the OJS) says that the version is 2.4.5.0 (with no upgrades from previous versions) running in a Linux OS with php 5.4 and Apache 2.2.

Hi @cccaballero,

Can you post the full error message?

Regards,
Ale Smecher
Public Knowledge Project Team

Well, I do not have access to the server log… I will need to ask the server administrator, so it may take a while…