Plugin crash when update to Php 8.0 or 8.1

[ad_1]

Hy guys, is there a fix to this problem?

WordPress 6.0.3
Astra (versione 3.9.2)
Code Snippets (versione 3.2.1)
Versione PHP 8.1.11

error
====================
Un errore di E_ERROR è stato causato nella linea 1 del file /home/tecnicov/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(505) : eval()’d code. Messaggio di errore: Uncaught Error: Call to undefined function create_function() in /home/xxxx/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(505) : eval()’d code:1
Stack trace:
#0 /home/xxxx/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(505): eval()
#1 /home/xxxx/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(565): Code_Snippets\execute_snippet()
#2 /home/xxxx/public_html/wp-includes/class-wp-hook.php(307): Code_Snippets\execute_active_snippets()
#3 /home/xxxx/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#4 /home/xxxx/public_html/wp-includes/plugin.php(476): WP_Hook->do_action()
#5 /home/xxxx/public_html/wp-settings.php(461): do_action()
#6 /home/xxxx/public_html/wp-config.php(75): require_once(‘/home/xxxx/…’)
#7 /home/xxxx/public_html/wp-load.php(50): require_once(‘/home/xxxx/…’)
#8 /home/xxxx/public_html/wp-admin/admin-post.php(19): require_once(‘/home/xxxx/…’)
#9 {main}
thrown`

Thanks!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer