This is with reference to website aboutdereham.org
I have just upgraded my hosting package, however php version is unchanged at V7.4
I am now getting a fatal error when the Forms plugin is enabled and so the website will not load unless I disable the plugin.
I am running WordPress V6.2.2 and the latest version of the Forms plugin V2.6.16
This is a live membership site where the majority of the content is member entered using forms, so the issue it really urgent.
Here is the fatal message content:
Fatal error: Uncaught Error: Class 'Toolset_Style' not found in /home/aboutder/public_html/wp-content/plugins/cred-frontend-editor/library/toolset/cred/embedded/classes/CRED_scripts_manager.php:3 Stack trace: #0 /home/aboutder/public_html/wp-content/plugins/cred-frontend-editor/library/toolset/cred/plugin.php(40): require_once() #1 /home/aboutder/public_html/wp-includes/class-wp-hook.php(308): cred_loaded_common_dependencies('dxdam_admin_use...') #2 /home/aboutder/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #3 /home/aboutder/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /home/aboutder/public_html/wp-content/plugins/dx-delete-attached-media/dx-delete-attached-media.php(339): do_action('after_setup_the...', 'dxdam_admin_use...') #5 /home/aboutder/public_html/wp-settings.php(453): include_once('/home/aboutder/...') #6 /home/aboutder/public_html/wp-config.php(97): require_once('/home/aboutder/...') #7 /home/aboutder/public_html/wp-load.php(50): require_once('/hom in /home/aboutder/public_html/wp-content/plugins/cred-frontend-editor/library/toolset/cred/embedded/classes/CRED_scripts_manager.php on line 3
The theme isn't loaded until after the plugins are, and yet this plugin runs any callbacks added to the 'after_setup_theme' hook, which is being run rather earlier than expected, and so of course it can have unintended consequences.
I expect if you disable that plugin you will find Forms working normally.
Hi Nigel
Thanks for the advice. Disabling the DX Delete Attached Media plugin solved the issue.
Both plugins were running together okay before my hosting upgrade and they are working together okay on my dev version of the site.
Without asking you to do development work! Are there any simple mods I might try e.g. the order I install the plugins, or a simple change to the problem code line I might try?
Best regards
Robert
As Nigel shared you should disable the plugin or try to comment out that line of code for now and check if that helps without causing any side effects.
The DX Delete Attached Media plugin page on WordPress.org has had multiple reports of fatal errors over the last couple of days. The authors say they are working on an update. Thanks again for your help. Should be fine to close this thread now.