[Plugin: Pinterest RSS Widget] Possible fix for – PHP Fatal error: Call to undefined method WP_Erro
-
Im getting this error too often in my error log
PHP Fatal error: Call to undefined method WP_Error::get_item_quantity() in /xxxxxxx/xxxxxx/xxxxxx/wp-content/plugins/pinterest-rss-widget/pinterest-rss-widget.php on line 64
that contains the following code:
$maxitems = $rss->get_item_quantity((int)$maxfeeds);
after a little research on this topic, i found this
http://wordpress.org/support/topic/atal-error-call-to-undefined-method-wp_errorget_item_quantity
Same problem but with another rss the recomendation is to add
rss->set_timeout(60); $maxitems = $rss->get_item_quantity((int)$maxfeeds);
Is this a solution or you recommend another alterntive?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Pinterest RSS Widget] Possible fix for – PHP Fatal error: Call to undefined method WP_Erro’ is closed to new replies.