Fatal error: Uncaught Error: Undefined constant
-
After installing the code snippet, I received a fatal error with the following messages:
Ein Fehler vom Typ E_ERROR wurde in der Zeile 1 der Datei /…../wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()’d code verursacht. Fehlermeldung: Uncaught Error: Undefined constant “‚woocommerce_product_subcategories_args‘” in /…../wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()’d code:1
Stack trace:
#0 /…../wp-content/plugins/code-snippets/php/snippet-ops.php(663): eval()
#1 /…../wp-content/plugins/code-snippets/php/evaluation/class-evaluate-functions.php(170): Code_Snippets\execute_snippet(‘add_filter( \xE2\x80\x9A…’, 5)
#2 /…../wp-content/plugins/code-snippets/php/evaluation/class-evaluate-functions.php(150): Evaluation\Evaluate_Functions->evaluate_db_snippets()
#3 /…../wp-includes/class-wp-hook.php(341): Evaluation\Evaluate_Functions->evaluate_early(”)
#4 /…../wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
#5 /…../wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#6 /…../wp-settings.php(593): do_action(‘plugins_loaded’)
#7 /…../wp-config.php(113): require_once(‘/home/httpd/vho…’)
#8 /…../wp-load.php(50): require_once(‘/home/httpd/vho…’)
#9 /…../wp-admin/admin.php(35): require_once(‘/home/httpd/vho…’)
#10 /…../wp-admin/plugins.php(10): require_once(‘/home/httpd/vho…’)
#11 {main}
thrownThis is installed:
WordPress-Version 6.9.1
Aktives Theme: Flatsome Child (Version 3.0)
Aktuelles Plugin: Code Snippets (Version 3.9.5)
PHP-Version 8.3.21What can I do to fix the problem?
Reinstalling the plugin led to the same result.Thanks
GerdThe page I need help with: [log in to see the link]
You must be logged in to reply to this topic.