titaniyaworld
Forum Replies Created
-
Forum: Plugins
In reply to: [Classic Editor] Missing custom buttons after update WordPress 6.0Hello @sebastienserre
add_action( 'admin_print_footer_scripts', 'add_my_button', 11 );
Forum: Plugins
In reply to: [Classic Editor] Missing custom buttons after update WordPress 6.0Thank you for your help! The broblem has been solved!
Forum: Plugins
In reply to: [Classic Editor] Missing custom buttons after update WordPress 6.0Hi!
The same problem on 5 sites. All the users buttons have disappeared. No errors in logs.Taniya
Hi!
So quick answer, thanks!This problem occurs on several websites.
An example from a test website with the problem:
site: https://kaiturovagalina.heartweb.ru/
WordPress 5.5.1
php 7.2 (Python 3.4)
There is only one plugin installed on this website – WP Content Copy Protection (Lite).A video with demonstration of the problem:
https://youtu.be/F3zRcdkEWSsAn error message:
Fatal error: Uncaught Error: Call to undefined function TycheSoftwares\Wpccp\is_shop() in /home/c/c49763/wordpress_8/public_html/wp-content/plugins/wp-content-copy-protection/includes/class-protection.php:192 Stack trace: #0 /home/c/c49763/wordpress_8/public_html/wp-content/plugins/wp-content-copy-protection/includes/class-protection.php(288): TycheSoftwares\Wpccp\Protection::exclude_pages() #1 /home/c/c49763/wordpress_8/public_html/wp-content/plugins/wp-content-copy-protection/includes/class-protection.php(94): TycheSoftwares\Wpccp\Protection::apply_protection() #2 /home/c/c49763/wordpress_8/public_html/wp-includes/class-wp-hook.php(287): TycheSoftwares\Wpccp\Protection::register_assets(”) #3 /home/c/c49763/wordpress_8/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #4 /home/c/c49763/wordpress_8/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /home/c/c49763/wordpress_8/public_html/wp-includes/script-loader.php(1999): do_action(‘wp_enqueue_scri…’) #6 /home/c/c49 in /home/c/c49763/wordpress_8/public_html/wp-content/plugins/wp-content-copy-protection/includes/class-protection.php on line 192Sincerely, Titaniya.