Support » Plugin: WP Favorite Posts » [Plugin: WP Favorite Posts] Cannot redeclare wpfp_widget_view()

  • I tryed to install the plugin and a Fatal Error occurred.
    And I notice that this error only occurs with this theme (

    Fatal error: Cannot redeclare wpfp_widget_view() (previously declared in /home/stancato/ricardo.stancato/wp-content/plugins/wp-favorite-posts/wp-favorite-posts.php:339) in /home/stancato/ricardo.stancato/wp-content/plugins/wp-favorite-posts/wp-favorite-posts.php on line 339

    Any help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi did you find a way around this?

    I figured it out.

    I have

    in wpfp-widgets.php

    The last line I removed the last }

    and in the first lines I replaced

    function wpfp_widget_init() {

    function wpfp_widget_init() {

    This may not allow all the widget features but it works.

    Demo : French property

    Hi I’m having the same problem except my ‘cannot redeclare’ line is 3 and I don’t have a closing } tag at the last line. Any ideas?

    Well nevermind. It’s always after I test 37 different scenarios before I ask for help and then test again and the next thing works. I removed the last } from the code (in my case was line 97 and moved it up as the above poster mentioned. At least the plugin functions now. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP Favorite Posts] Cannot redeclare wpfp_widget_view()’ is closed to new replies.