FeatherBB

Lighter than a feather.

You are not logged in.

#1 2016-02-22 22:52:43

Putte
Member
Registered: 2015-09-08
Posts: 18

Typos in plugin Private Messages 0.2.2

I downloaded (from the admin area) the Private messages 0.2.2 plugin and tried to activate it, but I got a fatal error about an undefined method: "load_textdomain()". Replacing all instances of "load_textdomain()"  with "translate" in the plugins files (plugins/private-messages/src/PrivateMessages.php & plugins/private-messages/src/Controller/PrivateMessages.php) seem to have solved the problem.

Putte

Offline

#2 2016-02-22 22:55:07

adaur
Lead developer
From: France
Registered: 2015-06-05
Posts: 94
Website

Re: Typos in plugin Private Messages 0.2.2

This is weird since the latest release https://github.com/featherbb/private-messages should have the translate method.

I have updated the featherbb.json file, so you should download the 0.2.3 and not 0.2.2 version.

Offline

#3 2016-02-22 23:22:27

Putte
Member
Registered: 2015-09-08
Posts: 18

Re: Typos in plugin Private Messages 0.2.2

Well, I had it downloaded a couple of hours ago, so maybe that's the reason why I got the fatal error. Anyway, I uninstalled the old version (0.2.2), made sure all folders/files were gone and than downloaded/activated the new version 0.2.3 from the admin area and the problem was fixed. But the new upload (0.2.3) still says version 0.2.2 in the admin panel overview and a quick check of the featherbb.json file also says version 0.2.2.

Putte

Last edited by Putte (2016-02-22 23:23:17)

Offline

#4 2016-02-22 23:34:49

adaur
Lead developer
From: France
Registered: 2015-06-05
Posts: 94
Website

Re: Typos in plugin Private Messages 0.2.2

OK, I think this is because you downloaded a release that contains the old featherbb.json file with the 0.2.2 version having the 0.2.3 files. I'll be more careful next time I generate a new release Smile

Thanks for your reports anyway, they're very useful!

Offline

Board footer

[ Generated in 0.04176 seconds, 8 queries executed - Memory usage: 1.42 MiB (Peak: 1.46 MiB) ]