• Resolved Kunal Desai

    (@iamkunaldesai)


    Plugin not compatible with PHP 8.0.3

    An error of type E_ERROR was caused in line 1 of the file /plugins/code-snippets/php/snippet-ops.php(469) : eval()’d code. Error message: Uncaught Error: Call to undefined function create_function() in /plugins/code-snippets/php/snippet-ops.php(469) : eval()’d code:1

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    It definitely is compatible. The error you reference is coming from an outdated function used in one of your custom snippets – it’s not coming from the plugin itself.

    Thread Starter Kunal Desai

    (@iamkunaldesai)

    Its a new installation of plugin without any code.

    Plugin Author Shea Bunge

    (@bungeshea)

    I can tell from the error message that it is coming from one of the added snippets. The plugin does not use create_function anywhere.

    I’m facing a similar issue. most of my snippets stopped working yesterday.here is the email i received from wordpress:

    /wordpress/wp-content/plugins/code-snippets/php/snippet-ops.php(469) : eval()’d code. Κωδικ?? σφ?λματο?: Uncaught Error: Call to a member function get() on null in
    /wordpress/wp-content/plugins/code-snippets/php/snippet-ops.php(469) : eval()’d code:3
    Stack trace:
    #0 /wordpress/wp-includes/class-wp-hook.php(287): my_custom_available_payment_gateways_temp(Array)
    #1 /papilio.gr/wordpress/wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)
    #2 /wordpress/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(160): apply_filters(‘woocommerce_ava…’, Array)
    #3 /papilio.gr/wordpress/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/OnboardingTasks.php(94): WC_Payment_Gateways->get_available_payment_gateways()
    #4 /wordpress/wp-conten`

    i have updated the wordpress to latest version. i use PHP 7.3.27 and your plugin on the latest version

    Plugin Author Shea Bunge

    (@bungeshea)

    @iliaspavlou Would you be able to start a new thread for this issue instead of adding to an existing one?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal Error’ is closed to new replies.