• tlasa1

    (@tlasa1)


    Hi there. We recently updated the plugins on our site and we got the following error:

    An error of type E_ERROR was caused in line 96 of the file /usr/www/users/tlasawdafm/do_action/wp-content/plugins/code-snippets/php/snippet-ops.php(504) : eval()'d code. Error message: Uncaught Error: Call to undefined function pmprorh_add_checkout_box() in /usr/www/users/tlasawdafm/do_action/wp-content/plugins/code-snippets/php/snippet-ops.php(504) : eval()'d code:96 Stack trace: #0 /usr/www/users/tlasawdafm/do_action/wp-content/plugins/code-snippets/php/snippet-ops.php(504): eval() #1 /usr/www/users/tlasawdafm/do_action/wp-content/plugins/code-snippets/php/snippet-ops.php(564): Code_Snippets\execute_snippet('/**\r\n *\r\n * Add...', 6) #2 /usr/www/users/tlasawdafm/do_action/wp-includes/class-wp-hook.php(307): Code_Snippets\execute_active_snippets('') #3 /usr/www/users/tlasawdafm/do_action/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #4 /usr/www/users/tlasawdafm/do_action/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #5 /usr/www/users/tlasawdafm/do_action/wp-settings.php(461): do_action('plugins_loaded') #6 /usr/www/users/tlasawdafm/do_action/wp-config.php(96): require_once('/usr/www/users/...') #7 /usr/www/users/tlasawdafm/do_action/wp-load.php(50): require_once('/usr/www/users/...') #8 /usr/www/users/tlasawdafm/do_action/wp-admin/admin.php(34): require_once('/usr/www/users/...') #9 /usr/www/users/tlasawdafm/do_action/wp-admin/plugins.php(10): require_once('/usr/www/users/...') #10 {main} thrown

    Where do I start fixing it?

    • This topic was modified 3 years ago by tlasa1.
    • This topic was modified 3 years ago by tlasa1.
Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    This is coming from one of your snippets – you’re attempting to call a function called pmprorh_add_checkout_box, which doesn’t exist.

    You should be able to find the relevant snippet by searching for pmprorh_add_checkout_box. As to how to fix the error, it seems like you might be missing a that the snippet relies on.

Viewing 1 replies (of 1 total)

The topic ‘Uncaught Error: Call to undefined function’ is closed to new replies.