I have a child theme installed.
Unfortunately, I got:
Your PHP code changes were rolled back due to an error on line 35 of file wp-content/themes/theme-child/functions.php. Please fix and try saving again.
Uncaught Error: Call to undefined function add_filters() in wp-content/themes/theme-child/functions.php:35
If I change:
add_filters( ‘advanced_gutenberg_blocks_code_languages’, ‘my_custom_languages’ );
with
add_action( ‘advanced_gutenberg_blocks_code_languages’, ‘my_custom_languages’ );
The functions.php will update.
However, if I select RUST as the language the preview on backend side works but the view post never show up and the page gets stuck!!
Still, works if I select C++ for example as language.
Thanks for the support!
-
This reply was modified 6 years, 1 month ago by
maxiclo.