SimplePie Issue with Theme and Plugin in Wordpress
$30-250 USD
Inaendelea
Imechapishwa about 14 years ago
$30-250 USD
Kulipwa wakati wa kufikishwa
I have a plugin, FeedWordPress, that is conflicting with my theme and resulting in the following error:
Fatal error: Cannot redeclare class SimplePie_Cache_MySQL in /home1/public_html/wp-content/themes/aggregator/php/[login to view URL] on line 9073
Upon research I have found that it is because the theme is lacking the following call:
// Include the required SimplePie library.
if(!class_exists("SimplePie")) { require_once $simplepiefile; }
The plugin, does test to see if it exists, so the solution is in the theme and I will need the code updated so that I can use this plugin with this theme.