• Resolved wozbuilders

    (@wozbuilders)


    I have been using Site Kit for a few weeks without any issues. Today (16th of Feb 2020) the plugin had an available update, which I updated via my Dashboard. After completing the update a message appeared saying a serious error had occurred. The plugin also said it had updated successfully and had disabled maintenance mode.

    I’m using PHP 7.3.14, Apache back end with Nginx front end for caching purposes.

    The error log for the site had the following;

    Stack trace:, referer: https://wozbuilders.com.au/wp-admin/update-core.php?action=do-plugin-upgrade
    [Sun Feb 16 07:15:50.147377 2020] [fcgid:warn] [pid 2160] [client 127.0.0.1:47074] mod_fcgid: stderr: #0 /public_html/wp-includes/class-wp-hook.php(290): googlesitekit_opcache_reset(Object(Plugin_Upgrader)), referer: https://wozbuilders.com.au/wp-admin/update-core.php?action=do-plugin-upgrade
    [Sun Feb 16 07:15:50.147381 2020] [fcgid:warn] [pid 2160] [client 127.0.0.1:47074] mod_fcgid: stderr: #1 /public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array), referer: https://wozbuilders.com.au/wp-admin/update-core.php?action=do-plugin-upgrade
    [Sun Feb 16 07:15:50.147388 2020] [fcgid:warn] [pid 2160] [client 127.0.0.1:47074] mod_fcgid: stderr: #2 /public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array), referer: https://wozbuilders.com.au/wp-admin/update-core.php?action=do-plugin-upgrade
    [Sun Feb 16 07:15:50.147392 2020] [fcgid:warn] [pid 2160] [client 127.0.0.1:47074] mod_fcgid: stderr: #3 /public_html/wp-admin/includes/class-plugin-upgrader.php(316): do_action('upgrader_proces...', Object(Plugin_Upgrader), Array), referer: https://wozbuilders.com.au/wp-admin/update-core.php?action=do-plugin-upgrade
    [Sun Feb 16 07:15:50.147396 2020] [fcgid:warn] [pid 2160] [client 127.0.0.1:47074] mod_fcgid: stderr: #4 /public_html/wp-admin/update.php(47): Plugin_Upgrader->bulk_upgrade(Array), referer: https://wozbuilders.com.au/wp-admin/update-core.php?action=do-plugin-upgrade
    [Sun Feb 16 07:15:50.147400 2020] [fcgid:warn] [pid 2160] [client 127.0.0.1:47074] mod_fcgid: stderr: #5 {main}, referer: https://wozbuilders.com.au/wp-admin/update-core.php?action=do-plugin-upgrade
    [Sun Feb 16 07:15:50.147412 2020] [fcgid:warn] [pid 2160] [client 127.0.0.1:47074] mod_fcgid: stderr:   thrown in /public_html/wp-content/plugins/google-site-kit/google-site-kit.php on line 102, referer: https://wozbuilders.com.au/wp-admin/update-core.php?action=do-plugin-upgrade

    The site seems to work ok but I’m concerned a small issue may develop into a large issue.

    I have a couple of other sites using Site Kit and I’m going to avoid the update until this gets worked out.

    Any ideas?

    • This topic was modified 4 years, 2 months ago by wozbuilders. Reason: Forgot to mention PHP version
Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter wozbuilders

    (@wozbuilders)

    Update

    Have done the same update on a different website (with a different theme) and got the same error. The following was emailed by wordpress;

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.3.2
    Current theme: CuteWP (version 1.0.2)
    Current plugin: Site Kit by Google (version 1.3.1)
    PHP version 7.3.14
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 102 of the file /home/wozblogger.com.au/public_html/wp-content/plugins/google-site-kit/google-site-kit.php. Error message: Uncaught Error: Call to undefined function opcache_reset() in /home/wozblogger.com.au/public_html/wp-content/plugins/google-site-kit/google-site-kit.php:102
    Stack trace:
    #0 /home/wozblogger.com.au/public_html/wp-includes/class-wp-hook.php(290): googlesitekit_opcache_reset(Object(Plugin_Upgrader))
    #1 /home/wozblogger.com.au/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array)
    #2 /home/wozblogger.com.au/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /home/wozblogger.com.au/public_html/wp-admin/includes/class-plugin-upgrader.php(316): do_action('upgrader_proces...', Object(Plugin_Upgrader), Array)
    #4 /home/wozblogger.com.au/public_html/wp-admin/update.php(47): Plugin_Upgrader->bulk_upgrade(Array)
    #5 {main}
      thrown

    Screen Shot after update

    Plugin Support James Osborne

    (@jamesosborne)

    @wozbuilders Can you try reset Site Kit before then deleting the plugin in full. After doing so please install and setup once more, using a Chrome browser incognito window.

    If the issue remains please inform me of your Site Health information and we can troubleshoot further.

    Thread Starter wozbuilders

    (@wozbuilders)

    @jamesosborne I will do as you suggested, although my original issue only showed up after updating Site Kit. The site appeared to be working without issue after the update error. My concern was that a small insignificant error may develop into a larger issue.

    I’ll remove the plugin and reinstall from scratch and let you know. Hopefully there will be an update over the next few days so I can see if the issue is resolved.

    thanks for following up @wozbuilders, please keep us updated. It would be good to know if the reset and reinstall resolves it for you. The error is a related to a call to a function that may not be enabled on your server. Version 1.3.1 should have addressed this.

    Thread Starter wozbuilders

    (@wozbuilders)

    I have done the reset and reinstall. No issues yet but wont know for sure until the next Site Kit update.

    Any idea what function might not be enabled? I am self hosted out of my spare bedroom so can make any required changes. I’m running Centos 7, Apache & Nginx with php versions ranging from 5 to 7 available.

    • This reply was modified 4 years, 1 month ago by wozbuilders. Reason: Added more info

    @wozbuilders thanks for the update! The issue seems to occur where Opcache is not enabled. As seen in the issue linked, the plugin was making a call to opcache_reset(). With the update, if it doesn’t detect the function it won’t call it.

    Mohon bantuannya saya tidak bisa menginstal site kit by google

    Plugin Support James Osborne

    (@jamesosborne)

    @kenslalu Can you please open a new support topic as per forum guidelines and we would be happy to assist from there.

    Please add as much information to your support topic such as your URL, plugins used or your Site Health Information.

    You can also checked the plugins website, which features information on resolving common issues.

    Thread Starter wozbuilders

    (@wozbuilders)

    I can confirm the issue was resolved.

    Plugin Support James Osborne

    (@jamesosborne)

    @wozbuilders Many thanks for the update, good to hear it’s now working for you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Site Kit causes error after update’ is closed to new replies.