• Resolved 007me

    (@007me)


    Hello Support,

    I moved another website to HTTPS and I see lots of Jetpack CSS errors with F12 on my browsers.
    In addition many widgets are not displayed.
    Take for example this page: https://tinyurl.com/yajv27bn that should display some Jetpack widgets on the side bar and see the errors with F12.
    How can I solve it?

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    I only see one error right now:
    https://i0.wp.com/i.jeremy.hu/screenshot-2017-11-02-at-10-58-07.png

    Did you manage to solve the issue and make sure resources were loaded properly on your site?

    To learn more about that 500 error, could you add the following to your site’s wp-config.php file?

    
    define( 'WP_DEBUG', true );
    
    if ( WP_DEBUG ) {
    
            @error_reporting( E_ALL );
            @ini_set( 'log_errors', true );
            @ini_set( 'log_errors_max_len', '0' );
    
            define( 'WP_DEBUG_LOG', true );
            define( 'WP_DEBUG_DISPLAY', false );
            define( 'CONCATENATE_SCRIPTS', false );
            define( 'SAVEQUERIES', true );
    
    }
    

    Your wp-config.php file may already include a line that says “define(‘WP_DEBUG’, false);”. You can remove it, and replace it by the code above.

    Once you’ve done so, reproduce the error on your site and then check the wp-content/debug.log file for errors. Yo can paste the results here. You can then replace define('WP_DEBUG', true); by define('WP_DEBUG', false); in the code above.

    Thread Starter 007me

    (@007me)

    Will try that Jeremy.
    didn’t solve the others. they are still there.
    Udi

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    didn’t solve the others. they are still there.

    Could you check to see if the errors still appear when you log out of your WordPress account, and when flushing your browser’s cache?

    Thanks!

    Thread Starter 007me

    (@007me)

    Hi Jeremy,

    Here is the log. Looks like something with the PHP:

    [02-Nov-2017 19:15:23 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; GRSC_Shortcodes_Buttons has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/graphene-shortcodes/inc/shortcodes.php on line 66
    [02-Nov-2017 19:15:23 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; LockOutPlugin has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 18
    [02-Nov-2017 19:15:23 UTC] PHP Notice: admin-functions.php is deprecated since version 2.5.0! Use wp-admin/includes/admin.php instead. in /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/functions.php on line 3959
    [02-Nov-2017 19:15:23 UTC] PHP Notice: Undefined index: action in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 22
    [02-Nov-2017 19:15:23 UTC] PHP Notice: Undefined index: page in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 26
    [02-Nov-2017 19:15:23 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; whosmechanic has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/mechanic-whos-online-visitor/wp-whosmechanic.php on line 38
    [02-Nov-2017 19:15:23 UTC] PHP Notice: Undefined index: HTTP_ACCEPT in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/any-mobile-theme-switcher/any-mobile-theme-switcher.php on line 117
    [02-Nov-2017 19:15:23 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; GRSC_Shortcodes_Buttons has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/graphene-shortcodes/inc/shortcodes.php on line 66
    [02-Nov-2017 19:15:23 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; LockOutPlugin has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 18
    [02-Nov-2017 19:15:23 UTC] PHP Notice: admin-functions.php is deprecated since version 2.5.0! Use wp-admin/includes/admin.php instead. in /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/functions.php on line 3959
    [02-Nov-2017 19:15:23 UTC] PHP Notice: Undefined index: action in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 22
    [02-Nov-2017 19:15:23 UTC] PHP Notice: Undefined index: page in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 26
    [02-Nov-2017 19:15:23 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; whosmechanic has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/mechanic-whos-online-visitor/wp-whosmechanic.php on line 38
    [02-Nov-2017 19:15:30 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; GRSC_Shortcodes_Buttons has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/graphene-shortcodes/inc/shortcodes.php on line 66
    [02-Nov-2017 19:15:30 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; LockOutPlugin has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 18
    [02-Nov-2017 19:15:30 UTC] PHP Notice: admin-functions.php is deprecated since version 2.5.0! Use wp-admin/includes/admin.php instead. in /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/functions.php on line 3959
    [02-Nov-2017 19:15:30 UTC] PHP Notice: Undefined index: action in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 22
    [02-Nov-2017 19:15:30 UTC] PHP Notice: Undefined index: page in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 26
    [02-Nov-2017 19:15:30 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; whosmechanic has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/mechanic-whos-online-visitor/wp-whosmechanic.php on line 38
    [02-Nov-2017 19:15:31 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_query() in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/mechanic-whos-online-visitor/wp-whosmechanic.php:77
    Stack trace:
    #0 /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/mechanic-whos-online-visitor/wp-whosmechanic.php(48): whosmechanic->new_user()
    #1 /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/mechanic-whos-online-visitor/wp-whosmechanic.php(131): whosmechanic->whosmechanic()
    #2 /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/class-wp-widget.php(395): wp_onlinemechanic->widget(Array, Array)
    #3 /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/widgets.php(738): WP_Widget->display_callback(Array, Array)
    #4 /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/themes/fluida/sidebar-left.php(13): dynamic_sidebar(‘widget-area-lef…’)
    #5 /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/template.php(688): require_once(‘/home/udiburg00…’)
    #6 /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/template.php(647): load_template(‘/home/udiburg00…’, true)
    #7 /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/general-template.php(122): locate_template(Array, true)
    #8 /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/themes/fluida/includes/core.php(269): get_sidebar(‘left’)
    #9 /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/themes/fluida/page.php(25): fluida_get_sidebar()
    #10 /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/template-loader.php(74): include(‘/home/udiburg00…’)
    #11 /home/udiburg007/public_html/udiburg.com/ramon253/wp-blog-header.php(19): require_once(‘/home/udiburg00…’)
    #12 /home/udiburg007/public_html/udiburg.com/ramon253/index.php(17): require(‘/home/udiburg00…’)
    #13 {main}
    thrown in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/mechanic-whos-online-visitor/wp-whosmechanic.php on line 77
    [02-Nov-2017 19:15:33 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; GRSC_Shortcodes_Buttons has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/graphene-shortcodes/inc/shortcodes.php on line 66
    [02-Nov-2017 19:15:33 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; LockOutPlugin has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 18
    [02-Nov-2017 19:15:33 UTC] PHP Notice: admin-functions.php is deprecated since version 2.5.0! Use wp-admin/includes/admin.php instead. in /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/functions.php on line 3959
    [02-Nov-2017 19:15:33 UTC] PHP Notice: Undefined index: page in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 26
    [02-Nov-2017 19:15:33 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; whosmechanic has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/mechanic-whos-online-visitor/wp-whosmechanic.php on line 38
    [02-Nov-2017 19:15:48 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; GRSC_Shortcodes_Buttons has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/graphene-shortcodes/inc/shortcodes.php on line 66
    [02-Nov-2017 19:15:48 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; LockOutPlugin has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 18
    [02-Nov-2017 19:15:48 UTC] PHP Notice: admin-functions.php is deprecated since version 2.5.0! Use wp-admin/includes/admin.php instead. in /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/functions.php on line 3959
    [02-Nov-2017 19:15:48 UTC] PHP Notice: Undefined index: action in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 22
    [02-Nov-2017 19:15:48 UTC] PHP Notice: Undefined index: page in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 26
    [02-Nov-2017 19:15:48 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; whosmechanic has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/mechanic-whos-online-visitor/wp-whosmechanic.php on line 38
    [02-Nov-2017 19:15:48 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_query() in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/mechanic-whos-online-visitor/wp-whosmechanic.php:77
    Stack trace:
    #0 /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/mechanic-whos-online-visitor/wp-whosmechanic.php(48): whosmechanic->new_user()
    #1 /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/mechanic-whos-online-visitor/wp-whosmechanic.php(131): whosmechanic->whosmechanic()
    #2 /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/class-wp-widget.php(395): wp_onlinemechanic->widget(Array, Array)
    #3 /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/widgets.php(738): WP_Widget->display_callback(Array, Array)
    #4 /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/themes/fluida/sidebar-left.php(13): dynamic_sidebar(‘widget-area-lef…’)
    #5 /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/template.php(688): require_once(‘/home/udiburg00…’)
    #6 /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/template.php(647): load_template(‘/home/udiburg00…’, true)
    #7 /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/general-template.php(122): locate_template(Array, true)
    #8 /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/themes/fluida/includes/core.php(269): get_sidebar(‘left’)
    #9 /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/themes/fluida/page.php(25): fluida_get_sidebar()
    #10 /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/template-loader.php(74): include(‘/home/udiburg00…’)
    #11 /home/udiburg007/public_html/udiburg.com/ramon253/wp-blog-header.php(19): require_once(‘/home/udiburg00…’)
    #12 /home/udiburg007/public_html/udiburg.com/ramon253/index.php(17): require(‘/home/udiburg00…’)
    #13 {main}
    thrown in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/mechanic-whos-online-visitor/wp-whosmechanic.php on line 77
    [02-Nov-2017 19:15:50 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; GRSC_Shortcodes_Buttons has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/graphene-shortcodes/inc/shortcodes.php on line 66
    [02-Nov-2017 19:15:50 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; LockOutPlugin has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 18
    [02-Nov-2017 19:15:50 UTC] PHP Notice: admin-functions.php is deprecated since version 2.5.0! Use wp-admin/includes/admin.php instead. in /home/udiburg007/public_html/udiburg.com/ramon253/wp-includes/functions.php on line 3959
    [02-Nov-2017 19:15:50 UTC] PHP Notice: Undefined index: page in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/lock-out/lock-out.php on line 26
    [02-Nov-2017 19:15:50 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; whosmechanic has a deprecated constructor in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/mechanic-whos-online-visitor/wp-whosmechanic.php on line 38

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Thanks! There are different notices linked to different plugins on your site, but this is the real error:

    PHP Fatal error: Uncaught Error: Call to undefined function mysql_query() in /home/udiburg007/public_html/udiburg.com/ramon253/wp-content/plugins/mechanic-whos-online-visitor/wp-whosmechanic.php:77

    It appears to be caused by the Mechanic Who's Online Visitor plugin.

    This most likely only returned a warning in the past but if you’ve updated the version of PHP to PHP 7 on your site during the move to HTTPS, this will now return a Fatal error. Indeed, the MySQL extension was deprecated in PHP 5.5 and removed in PHP 7.

    Since the plugin has not been updated in the past 2 years I would recommend that you look for a different plugin to do this.

    I hope this helps.

    Thread Starter 007me

    (@007me)

    Jeremy,

    Many thanks!!!!
    You saved me!
    Disabling the plugin solved the issue!

    thanks a lot!

    Udi

    Thread Starter 007me

    (@007me)

    Jeremy,

    Although the website looks ok now, when using F12 yuo still see tons of errors:
    see here for example:
    https://www.dropbox.com/s/yyradbukgufhxpa/More-errors.jpg?dl=0

    The site is here:
    https://ramon253.udiburg.com/%d7%90%d7%99%d7%a8%d7%95%d7%a2%d7%99%d7%9d/

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    The errors don’t appear to be linked to Jetpack itself though; you seem to be using an additional plugin to ad a Whatsapp button to Jetpack’s Sharing feature.

    Since Jetpack now includes the Whatsapp button out of the box, you could just remove that plugin.

    Thread Starter 007me

    (@007me)

    Jeremy,

    Thanks again! Good to know.
    I will go over the whole Jetpack to see what other news there are.
    Maybe I can eliminate more plugins ??
    Thanks again!

    Udi

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Issues after moving to HTTPS’ is closed to new replies.