solved JR5 Error After Updating System Core and Modules

derrickhand300
@derrickhand300
7 years ago
1,353 posts
Just ran the latest updates and getting the following error in error logs
[23-Jan-2017 10:52:00 America/Tegucigalpa] PHP Fatal error: Cannot redeclare jrPlaylist_quota_config() (previously declared in /home/rough/public_html/modules/jrPlaylist-release-1.1.1/quota.php:49) in /home/rough/public_html/modules/jrPlaylist-release-1.1.2/quota.php on line 49 [1] - 

updated by @derrickhand300: 04/24/17 04:30:18PM
paul
@paul
7 years ago
4,326 posts
It looks like two versions of the Playlist module are active at the same time. Very rare but I have seen it happen before with PHP's Opcache. Try restarting your web-server.
If that doesn't work, try deleting the Playlist module (via the ACP), then make sure all versions of it have gone from the /modules folder, then re-install it.
hth


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 01/23/17 09:43:10AM
derrickhand300
@derrickhand300
7 years ago
1,353 posts
Thank you
brian
@brian
7 years ago
10,148 posts
Yeah this really should _never_ happen, but I've seen it a few times. Basically the existing script gets "stuck" in the web sever cache or PHP opcode cache, and restarting the web server fixes it.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags