Fatal error with Jupiter Theme
-
I Have a client who is using your plugin, for different reasons with the actual theme, he need to change it.
I recommend him to bought Jupiter Theme and with that it was all good but when i activate the theme i get this error:Fatal error: Cannot redeclare the_excerpt_max_charlength()…in … /wp-content/themes/jupiter/framework/functions/general-functions.php on line 117
I check you code and i found that you ask if that function it’s not already declare but as the plugins load first the theme files, never will be declared.
I know that the easiest way is to rename it in the theme or update your plugin and that its all, but the problem will came when they update the theme or your plugin that change will be lost and i will need to do it again.
That’s why i came here to ask you why you dont use a name-space or a prefix to all the functions? It’s possible you can make a correction? change the name or make that this functionality loads after the theme is load?
Otherwise i will go for the easiest way that will be recommend my client to uninstall your plugins because it’s not compatible with the theme.
- The topic ‘Fatal error with Jupiter Theme’ is closed to new replies.