Thank you again for spending your time on me. You brought me to the right path ?? To clarify, I am creating my own Theme/template. I was not explaining myself clearly enough, I think.
So, I found an older error log(below). Apparently this also affects ‘WP_Nav_Walker’.
I did some research and there is really not much info about this. There was only 1 website(https://php-download.com/package/johnpbloch/wordpress-core/file/wp-includes/functions.wp-scripts.php) that gave me the code that actually worked. But for this I had to replace the “functions.wp-scripts” file. Not something I am too happy about, to be honest.
If you would know a different solution, I would love to hear it. For now, I will leave this code in there and search for some more answers.
Thanks again and take care.
PHP Fatal error: Uncaught Error: Class 'WP_Scripts' not found in /wp-includes/functions.wp-scripts.php:23
Stack trace:
#0 /wp-includes/functions.wp-scripts.php(128): wp_scripts()
#1 /wp-includes/widgets/class-wp-widget-text.php(58): wp_add_inline_script('text-widgets', 'wp.textWidgets....')
#2 /wp-includes/class-wp-widget.php(252): WP_Widget_Text->_register_one(1)
#3 /wp-includes/class-wp-widget-factory.php(102): WP_Widget->_register()
#4 /wp-includes/class-wp-hook.php(287): WP_Widget_Factory->_register_widgets('')
#5 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#6 /wp-includes/plugin.php(478): WP_ in /wp-includes/functions.wp-scripts.php on line 23
-
This reply was modified 4 years, 1 month ago by
RayR75.
-
This reply was modified 4 years, 1 month ago by
RayR75.