• Resolved Mamba Negra

    (@mambanegrarules)


    Hi,
    I have read related posts about new update of Jetpack plugin.
    I have the same problem, it was automatically updated on Wednesday, at midnight, and then my site was offline.
    I uninstall the plugin by FTP, deleting the folder.
    Then, I downloaded 4.5 version in official page, unzipped and copied into plugins folder.
    I can see in ‘Installed plugins’ Jetpack plugin installed, but not activated, I try to activate it but it throws’fatal error’, no more info.
    I have debug mode in wp-config, like you said in other post, but in my debug.log file it doesn’t print nothing interesting.
    Now, I installed the last backed up version of the plugin, Version 4.4.2, and then I activated it, without problems.
    I have my site in a mess, I think some CSS files are crashed and I don’t know how to recover the old and good design of my website, although with an older version of the plugin…some ideas? I need some help… :S

    Thanks in advance.

    – debug.log

    [19-Jan-2017 16:59:17 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /hosting/www/kravmagaleon.com/public/wp-includes/functions.php on line 3828
    [19-Jan-2017 16:59:17 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /hosting/www/kravmagaleon.com/public/wp-includes/functions.php on line 3828

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Mamba Negra

    (@mambanegrarules)

    Today, my site wakes up in HTTP ERROR 500, and with this log:

    [19-Jan-2017 17:40:02 UTC] PHP Notice:  get_currentuserinfo is <strong>deprecated</strong> since version 4.5.0! Use wp_get_current_user() instead. in /hosting/www/kravmagaleon.com/public/wp-includes/functions.php on line 3828
    [19-Jan-2017 17:40:03 UTC] PHP Notice:  get_currentuserinfo is <strong>deprecated</strong> since version 4.5.0! Use wp_get_current_user() instead. in /hosting/www/kravmagaleon.com/public/wp-includes/functions.php on line 3828
    [19-Jan-2017 23:09:18 UTC] Array
    (
        [akismet_debug] => Array
            (
                [akismet_url] => https://rest.akismet.com/1.1/verify-key
                [http_args] => Array
                    (
                        [body] => key=0&blog=http%3A%2F%2Fwww.kravmagaleon.com
                        [headers] => Array
                            (
                                [Content-Type] => application/x-www-form-urlencoded; charset=UTF-8
                                [Host] => rest.akismet.com
                                [User-Agent] => WordPress/4.7.1 | Akismet/3.2
                            )
    
                        [httpversion] => 1.0
                        [timeout] => 15
                    )
    
                [response] => Array
                    (
                        [headers] => Requests_Utility_CaseInsensitiveDictionary Object
                            (
                                [data:protected] => Array
                                    (
                                        [server] => nginx
                                        [date] => Thu, 19 Jan 2017 23:09:18 GMT
                                        [content-type] => text/plain; charset=utf-8
                                        [content-length] => 7
                                    )
    
                            )
    
                        [body] => invalid
                        [response] => Array
                            (
                                [code] => 200
                                [message] => OK
                            )
    
                        [cookies] => Array
                            (
                            )
    
                        [filename] => 
                        [http_response] => WP_HTTP_Requests_Response Object
                            (
                                [response:protected] => Requests_Response Object
                                    (
                                        [body] => invalid
                                        [raw] => HTTP/1.1 200 OK
    Server: nginx
    Date: Thu, 19 Jan 2017 23:09:18 GMT
    Content-Type: text/plain; charset=utf-8
    Content-Length: 7
    Connection: close
    
    invalid
                                        [headers] => Requests_Response_Headers Object
                                            (
                                                [data:protected] => Array
                                                    (
                                                        [server] => Array
                                                            (
                                                                [0] => nginx
                                                            )
    
                                                        [date] => Array
                                                            (
                                                                [0] => Thu, 19 Jan 2017 23:09:18 GMT
                                                            )
    
                                                        [content-type] => Array
                                                            (
                                                                [0] => text/plain; charset=utf-8
                                                            )
    
                                                        [content-length] => Array
                                                            (
                                                                [0] => 7
                                                            )
    
                                                    )
    
                                            )
    
                                        [status_code] => 200
                                        [protocol_version] => 1.1
                                        [success] => 1
                                        [redirects] => 0
                                        [url] => https://rest.akismet.com/1.1/verify-key
                                        [history] => Array
                                            (
                                            )
    
                                        [cookies] => Requests_Cookie_Jar Object
                                            (
                                                [cookies:protected] => Array
                                                    (
                                                    )
    
                                            )
    
                                    )
    
                                [filename:protected] => 
                                [data] => 
                                [headers] => 
                                [status] => 
                            )
    
                    )
    
            )
    
    )
    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    [19-Jan-2017 16:59:17 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /hosting/www/kravmagaleon.com/public/wp-includes/functions.php on line 3828
    [19-Jan-2017 16:59:17 UTC] PHP Notice: get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /hosting/www/kravmagaleon.com/public/wp-includes/functions.php on line 3828

    Jetpack doesn’t use the get_currentuserinfo function, so that function is most likely added by another plugin or theme on your site.

    It won’t cause a Fatal Error, though: as noted in the beginning of the line, it’s a PHP Notice. It’s only meant as a recommendation, it doesn’t actually break anything.

    [19-Jan-2017 23:09:18 UTC] Array
    (
        [akismet_debug] => Array
            (
                [akismet_url] => https://rest.akismet.com/1.1/verify-key
                [http_args] => Array
                    (
                        [body] => key=0&blog=http%3A%2F%2Fwww.kravmagaleon.com
                        [headers] => Array
                            (
                                [Content-Type] => application/x-www-form-urlencoded; charset=UTF-8
                                [Host] => rest.akismet.com
                                [User-Agent] => WordPress/4.7.1 | Akismet/3.2
                            )
    
                        [httpversion] => 1.0
                        [timeout] => 15
                    )
    
                [response] => Array
                    (
                        [headers] => Requests_Utility_CaseInsensitiveDictionary Object
                            (
                                [data:protected] => Array
                                    (
                                        [server] => nginx
                                        [date] => Thu, 19 Jan 2017 23:09:18 GMT
                                        [content-type] => text/plain; charset=utf-8
                                        [content-length] => 7
                                    )
    
                            )
    
                        [body] => invalid
                        [response] => Array
                            (
                                [code] => 200
                                [message] => OK
                            )
    
                        [cookies] => Array
                            (
                            )
    
                        [filename] => 
                        [http_response] => WP_HTTP_Requests_Response Object
                            (
                                [response:protected] => Requests_Response Object
                                    (
                                        [body] => invalid
                                        [raw] => HTTP/1.1 200 OK
    Server: nginx
    Date: Thu, 19 Jan 2017 23:09:18 GMT
    Content-Type: text/plain; charset=utf-8
    Content-Length: 7
    Connection: close
    
    invalid
                                        [headers] => Requests_Response_Headers Object
                                            (
                                                [data:protected] => Array
                                                    (
                                                        [server] => Array
                                                            (
                                                                [0] => nginx
                                                            )
    
                                                        [date] => Array
                                                            (
                                                                [0] => Thu, 19 Jan 2017 23:09:18 GMT
                                                            )
    
                                                        [content-type] => Array
                                                            (
                                                                [0] => text/plain; charset=utf-8
                                                            )
    
                                                        [content-length] => Array
                                                            (
                                                                [0] => 7
                                                            )
    
                                                    )
    
                                            )
    
                                        [status_code] => 200
                                        [protocol_version] => 1.1
                                        [success] => 1
                                        [redirects] => 0
                                        [url] => https://rest.akismet.com/1.1/verify-key
                                        [history] => Array
                                            (
                                            )
    
                                        [cookies] => Requests_Cookie_Jar Object
                                            (
                                                [cookies:protected] => Array
                                                    (
                                                    )
    
                                            )
    
                                    )
    
                                [filename:protected] => 
                                [data] => 
                                [headers] => 
                                [status] => 
                            )
    
                    )
    
            )
    
    )

    This is a call made when you load the Jetpack Dashboard, so Jetpack can check the status of the Akismet connection on your site and return data about the number of spam blocked. That call will appear in your logs every time you turn on WP_DEBUG and load the Jetpack dashboard. It consequently isn't what's causing the issues on your site either.

    Since your debug.log file doesn't help us here, I would recommend looking at your general PHP error logs on that server to try to understand what's happening. If you're not sure where to find those logs, your hosting provider should be able to help.

    Let me know how it goes!

    Thread Starter Mamba Negra

    (@mambanegrarules)

    Now I have 4.5 version installed and activated, after few attempts and installing older versions.
    But the design is broken, is possible that some CSS file is missing or corrupted with all this troubles? I have backups of the database, might be the solution try to install an older version of database? Some ideas for fixing the problem?

    I have this errors in debug.log:
    [23-Jan-2017 10:31:10 UTC] PHP Fatal error: Cannot redeclare class Upcoming_Events_Widget in /hosting/www/kravmagaleon.com/public/wp-content/plugins/jetpack/modules/widgets/upcoming-events.php on line 153
    [23-Jan-2017 10:31:32 UTC] PHP Fatal error: Cannot redeclare class Upcoming_Events_Widget in /hosting/www/kravmagaleon.com/public/wp-content/plugins/jetpack/modules/widgets/upcoming-events.php on line 153

    And I receive this notification email:
    …did not load when we checked, on Lunes, enero 23, 10:33 am.

    Your server is not responding to our monitoring requests. Your site may have PHP fatal errors, database connectivity issues, or other server-level problems. This page might help you figure out what is causing the problem.

    If you continue seeing downtime, you should get in touch with your hosting provider for help. You will receive another alert when your site is online again.

    And when I try to activate ‘Extra Sidebar Widgets’ I get this error:
    Extra Sidebar Widgets failed to activate. SyntaxError: Unexpected end of JSON input

    [23-Jan-2017 10:53:24 UTC] PHP Fatal error: Cannot redeclare class Upcoming_Events_Widget in /hosting/www/kravmagaleon.com/public/wp-content/plugins/jetpack/modules/widgets/upcoming-events.php on line 153

    • This reply was modified 8 years, 2 months ago by Mamba Negra.
    • This reply was modified 8 years, 2 months ago by Mamba Negra.
    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Excellent, thanks for the extra details.

    It seems there is a name conflict between Jetpack’s new Upcoming Events Widget and another plugin that provides the same functionality on your site.

    We currently know of one similar conflict with this plugin:
    https://codecanyon.net/item/timetable-responsive-schedule-for-wordpress/7010836

    Do you happen to use this plugin on your site?

    If so, I’m afraid you’ll need to keep Jetpack’s Widgets module deactivated until we release Jetpack 4.5.1 to solve this issue.

    Another alternative would be to add the following to your theme’s functions.php file or to a functionality plugin to only deactivate our new Upcoming Events Widget, and nothing else:

    // Search for the Upcoming Events Widget.
    function jeherve_upcoming_events_search( $widget ) {
    	return strpos( $widget, 'upcoming_events_register_widgets' ) === false;
    }
    
    // Remove the Upcoming Events Widget.
    function jeherve_remove_upcoming_events_widget( $widgets ) {
    	$widgets = array_filter( $widgets, 'jeherve_upcoming_events_search' );
    	return $widgets;
    }
    add_filter( 'jetpack_widgets_to_include', 'jeherve_remove_upcoming_events_widget' );

    Sorry for the trouble!

    Thread Starter Mamba Negra

    (@mambanegrarules)

    Yes, I have installed this plugin in my site: https://codecanyon.net/item/timetable-responsive-schedule-for-wordpress/7010836
    but I won’t to uninstall it, I like it.
    I can wait for new Jetpack release, I’m looking forward to it.
    Thanks for response.
    Regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem with Jetpack 4.5 update, it crashed my site’ is closed to new replies.