Skip Navigation

[Resolved] Google Site Plugin Causes Critical Issue With Toolset Plugin Settings Section

This support ticket is created 4 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 9 replies, has 2 voices.

Last updated by Shane 4 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#1507495

LCR
error.png

I am trying to: Access the Toolset settings.

Link to a page where the issue can be seen: hidden link

I expected to see: The Toolset setting options

Instead, I got:
Toolset Settings
There has been a critical error on your website. Please check your site admin email inbox for instructions.

Learn more about debugging in WordPress. (https://wordpress.org/support/article/debugging-in-wordpress/)

#1507699

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for getting in touch.

I suspect there is an error displayed in your site log.

To know what the error is I would need for you to enable your wordpress debugging.

This can be done by going to the link below and follow the instructions. Once you have done this please let me know the results.
hidden link

Thanks,
Shane

#1507807

LCR

I deactivated the Google plugin to enable the toolset debug setting but it doesn't seem to be working. So after enabling the WordPress debug setting, I was given the text below...

Is this what you need?

Fatal error: Uncaught TypeError: Argument 1 passed to Google\Site_Kit\Core\REST_API\REST_Routes::register_routes() must be an instance of WP_REST_Server, string given, called in /var/www/html/wp-content/plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php on line 92 and defined in /var/www/html/wp-content/plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php:104 Stack trace: #0 /var/www/html/wp-content/plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php(92): Google\Site_Kit\Core\REST_API\REST_Routes->register_routes('') #1 /var/www/html/wp-includes/class-wp-hook.php(288): Google\Site_Kit\Core\REST_API\REST_Routes->Google\Site_Kit\Core\REST_API\{closure}('') #2 /var/www/html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #3 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /var/www/html/wp-content/plugins/wp-views/vendor/toolset/common-es/php/Block/Style/Responsive/ToolsetSettings.php(28): do_action('rest_api_init') #5 /var/www/html/wp-includes/cl in /var/www/html/wp-content/plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php on line 104

There has been a critical error on your website. Please check your site admin email inbox for instructions.

#1508849

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for the information.

From what I see here the Google plugin is throwing a fatal error.

I would recommend contacting the support for this team due to the error here

Fatal error: Uncaught TypeError: Argument 1 passed to Google\Site_Kit\Core\REST_API\REST_Routes::register_routes() must be an instance of WP_REST_Server, string given, called in /var/www/html/wp-content/plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php on line 92

I suspect that this will not only interfere with our plugins but others as well so I would recommend disabling and then contact the google support for a resolution for this since the issue in on the side of the Google Plugin.

Thanks,
Shane

#1515139

LCR

I think it might be due to Toolsets integration with Google. This is only an issue with the Toolset plugin settings everything else works fine for the websites and all other plugins. I don't think Google will be inclined to adjust their plugin to fit the needs of the Toolset plugin.

I can work around it by deactivating and reactivating the plugin when I need access to the Toolset plugin settings, but I think this needs to be investigated a bit more and possibly adjusted on the Toolset side because Google more than likely won't fix something that is only affecting the Toolset plugin.

#1515313

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

I've escalated the ticket to our 2nd tier supporters for further checks on this one.

I will post to you if I have any updates on this.

Thanks,
Shane

#1516463

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

The issue has been escalated to our compatibility team.

However it is recommended that you open a ticket with the developers of the plugin so that they can be aware of the issue at hand.

Thanks,
Shane

#1516809

LCR

Thank you, I look forward to the solution to the compatibility issue.

#1521863

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

We've released a patch on our errata's page.
https://toolset.com/errata/fatal-error-on-the-toolset-dashboard-page-when-using-3rd-party-plugins-that-use-wordpress-rest-api/

Could you try this and let me know if this resolves the issue for you ?

Thanks,
Shane

#1617405

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Our Latest series of updates have resolved this issue with a permanent fix.

You can update your plugins by going to Plugins Add New and click on the commercial tab.

Finally just click on "Check for Updates" and your page should refresh showing the updates.

This should now resolve the issue.

Thanks,
Shane