YJSGframework / yjsg

YJSG Template Framework Plugin
GNU General Public License v2.0
17 stars 14 forks source link

Fatal Error was detected! #48

Closed Rollmodl closed 6 years ago

Rollmodl commented 6 years ago

After upgrading to Kunena, the forum is getting the following 500 Internal Server Error:

The error was detected in the System - Yjsg Plugin.

Fatal Error: Cannot declare class JPagination, because the name is already in use in plugins/system/yjsg/includes/yjsgcore/classes/extend/38/pagination/pagination.php on line 288

danyj commented 6 years ago

try moving their system plugin after YJSG .

danyj commented 6 years ago

After upgrading to Kunena

give more details upgrading what version Joomla and Kunena .

Rollmodl commented 6 years ago

Kunena 5.0.14 to 5.1.0 Joomla 3.8.8

2018-06-01_144439

Rollmodl commented 6 years ago

I edited my post and restored my site to the previous version.

danyj commented 6 years ago

im testing now

danyj commented 6 years ago

Upgraed , http://prntscr.com/jpoaef

http://prntscr.com/jpoalm

Joomla 3.8.8 Kunena 5.10 YJSG 2.3.2

I even moved plugins order around http://prntscr.com/jpobuq

and no issues.

Are you on latest YJSG ?

Rollmodl commented 6 years ago

YJSG v2.3.2

danyj commented 6 years ago

what other plugins/components do you have?

Rollmodl commented 6 years ago

Did you click on the topics?

Rollmodl commented 6 years ago

Try clicking on the topics. The forum shows but the error occur when a topic is selected.

danyj commented 6 years ago

Just did , http://prntscr.com/jpodr6

il test some more

Rollmodl commented 6 years ago

2018-06-01_150422

danyj commented 6 years ago

tested pagination , created few topics , clicked paging everything works http://prntscr.com/jpofdb

Only thing to try is move the order of YJSG plugin. I cant replicate the issue.

Rollmodl commented 6 years ago

Ok, thanks.

danyj commented 6 years ago

Just tested messages per page , everything works on my end. YJSG overrides Jpagination to add class names ,

this

Fatal Error: Cannot declare class JPagination, because the name is already in use in

tells me that YJSG was to late to do so since something did it before, thus moving plugin order might help. Just try to set YJSG first or last