Yeah something is off, usually there are no such warnings. The only sure-fire way of determining the cause of the issue is to do a bit of troubleshooting. I can provide a guide if it will be useful for you.
Also before troubleshooting, you might want to try simply deleting and reinstalling the plugin from scratch. The warnings you mention seem indicate that some core plugin files/functions are missing.
Thread Starter
John
(@dsl225)
Thanks Jeff,
I start by downloading and uploading your files from here to the installation and see whether the warnings re-appear tomorrow.
Will get back here to update you.
Thread Starter
John
(@dsl225)
Doesn’t seem to work.
I first re-downloaded/uploaded the package and as nothing changed I deleted and re-installed but still getting the same error once/day.
What else can we do?
As with all things on the Web, the only sure way to diagnose any issue is to do some basic troubleshooting. That linked article explains two ways of going about it, definitely recommended skills for anyone planning on working online. After going thru the steps of either method, you should have a clear idea of what’s causing the issue. If it were me, given the scenario you describe, I would go with the “ground-up” method probably would be easiest/fastest.
Thread Starter
John
(@dsl225)
Thanks for this but it’s not worth the time for performing such sort of investigations, sorry.
I’ll leave it as is for some time to see if there is any change, otherwise I’ll have to remove it and just replace it with the standard 2 Classic plugins.
Thanks again!
Totally understand, cheers John.
I can only add to this support topic the following warning I am receiving in my error_log:
PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘disable_gutenberg_menu_pages’ not found or invalid function name in /…/wp-includes/class-wp-hook.php on line 303
The only difference here from the error John reported is the specific function that is not found. For me it’s with the disable_gutenberg_menu_pages function.
@spaceling I am glad to investigate and try resolve any issue. Just need to be able to recreate the warning on default WordPress site. So far, I’ve not been able to do it. If you have the steps, I’ll check it out asap.
Yes, I should have provided more details:
WP Version: 5.8.2
PHP Version: 7.4.25
Database Version: 5.7.36
Disable Gutenberg: 2.5.1
Do you think it could be a conflict brought about with my theme? (That’s Atahualpa version 3.7.26. It’s EOL with a minor update from last year.)
Thanks. Yes, it may be a theme- or plugin-related issue, especially if the theme adds/removes any post-editing functionality. The quickest way to find out is to troubleshoot the theme and plugins. I would be glad to provide a guide if it will be useful for you.
Thread Starter
John
(@dsl225)
In my case, this was happening with the Generatepress theme but I have a dozen other sites with the same theme but no error.
Understood. Likely there is some other factor involved, perhaps another plugin or config is clashing somewhere.
Thread Starter
John
(@dsl225)
I just checked to see which plugins this site is using that are not installed anywhere else where Disable Gutenberg is running and I found those 2 for what is worth:
– Visualizer: Tables and Charts for WordPress
– Category Posts Widget
@spaceling : are you using any of those?