Viewing 12 replies - 1 through 12 (of 12 total)
  • I’m having the exact same issue.

    Fatal error: Cannot redeclare class Contact_Info_Widget in /public_html/wp-content/themes/Avada/widgets/contact_info.php on line 119

    I’ve deactivated jetpack as well. Please

    I’ve still the same problem, but i’ve a little advice for you (waiting the real solution obviously!), try this: go on /public_html/wp-content/themes/Avada/widgets/contact_info.php, and look at beninning of the the code:

    <?php
    add_action(‘widgets_init’, ‘contact_info_load_widgets’);

    function contact_info_load_widgets()
    {
    register_widget(‘Contact_Info_Widget’);
    }

    class Contact_Info_Widget extends WP_Widget {

    function Contact_Info_Widget()

    The problem is there, and if you rename that using “class Contact_Info_Widget1” for example, you simply will block that element
    , without blocking all the Jetpack plugin. It’s the easier solution. Now i can work, but i don’t know if i’ll have problems in this way, for now i’m still ok! Waiting for the new release…

    Me too, only in my case the theme is Weaver Extreme.

    Just remember that computer code is just like a magic spell, grammar matters.

    Me too.

    Your suggestion got me back in, thanks!

    -Robyn

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Sorry everyone for the trouble!

    We’ve now released Jetpack 3.4.1 and we prefixed our Contact Info widget to avoid conflicts with other contact info widgets like the one from Avada.

    If you continue to experience issues after the update, let me know!

    Hey Jeremy,

    I am having the exact same issue as OP. I have deleted the old plugin via FTP and reinstalled (v3.4.1) using WP and FTP but every time it activates everything goes white. Any help would be appreciated.

    archerindustries

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    @archerindustries Since we fixed the issue with the Contact Info widget, I think the problem is different on your site.

    Could you check your server error logs around the time when you experienced the issue, to find out more about the error?

    If you don’t know how to access your server error logs, your hosting provider should be able to help.

    Let me know how it goes.

    @jeremy The first time it happened was after the Jetpack update on the 19th. I was disabled the plugin to discover that it was in fact the Jetpack plugin then I started reading the support forums. I finally deleted the plugin and reinstalled to see if it would solve the issue. No dice. Here is the initial error and the current error:

    [19-Mar-2015 22:08:51 UTC] PHP Fatal error: Cannot redeclare class Contact_Info_Widget in /home1/epicvege/public_html/travel/wp-content/themes/travel-archerindustries/widgets/contact_info.php on line 119

    [24-Mar-2015 09:20:54 UTC] PHP Fatal error: Cannot redeclare class Contact_Info_Widget in /home1/epicvege/public_html/travel/wp-content/themes/travel-archerindustries/widgets/contact_info.php on line 119

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    I finally deleted the plugin and reinstalled to see if it would solve the issue. No dice. Here is the initial error and the current error:

    [19-Mar-2015 22:08:51 UTC] PHP Fatal error: Cannot redeclare class Contact_Info_Widget in /home1/epicvege/public_html/travel/wp-content/themes/travel-archerindustries/widgets/contact_info.php on line 119

    [24-Mar-2015 09:20:54 UTC] PHP Fatal error: Cannot redeclare class Contact_Info_Widget in /home1/epicvege/public_html/travel/wp-content/themes/travel-archerindustries/widgets/contact_info.php on line 119

    Thanks for giving it a try. It seems our fix wasn’t perfect, and only targetted a single theme, Avada. I’ve reopened the related bug report, and we’re looking into other ways to fix the problem now. You can follow our progress here:
    https://github.com/Automattic/jetpack/issues/1813

    Until we release a new version of Jetpack, you can fix your own version of Jetpack by applying the changes listed here:
    https://github.com/Automattic/jetpack/pull/1814/files

    Sorry for the inconvenience.

    Thanks for the solution! I’ll give it a try when I get a chance. The theme I am using is Avada though. Not sure why the issue as I am using Avada on another site with Jetpack and it has no issues.

    Hi
    Same error but with Terra theme from blueowlcreative.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    The theme I am using is Avada though. Not sure why the issue as I am using Avada on another site with Jetpack and it has no issues.

    I think that’s because you renamed the Avada theme to match your site’s name.

    @lmzan Could you try the fix I posted above, and let me know if it helps?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Fatal error: Cannot redeclare class Contact_Info_Widget’ is closed to new replies.