Support » Plugin: Stripe Payments for WordPress - WP Simple Pay » Plugin activation issue.

  • Resolved Shashwat Mittal

    (@shashwatmittal)


    Facing an issue where when I try to activate the plugin using

    WP plugin activate stripe

    it throws the following error

    PHP Fatal error:  Uncaught Error: Call to undefined function SimplePay\Core\Admin\simpay_get_admin_pages() in /var/www/example.com/htdocs/wp-content/plugins/stripe/includes/core/admin/pages.php:55
    Stack trace:
    #0 /var/www/example.com/htdocs/wp-content/plugins/stripe/includes/core/installation.php(93): SimplePay\Core\Admin\Pages->__construct('settings')
    #1 /var/www/example.com/htdocs/wp-content/plugins/stripe/includes/core/installation.php(31): SimplePay\Core\Installation::create_options()
    #2 /var/www/example.com/htdocs/wp-includes/class-wp-hook.php(298): SimplePay\Core\Installation::activate(NULL)
    #3 /var/www/example.com/htdocs/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
    #4 /var/www/example.com/htdocs/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #5 /var/www/example.com/htdocs/wp-admin/includes/plugin.php(591): do_action('activate_stripe...', NULL)
    #6 phar:///usr/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php(284): activate_plugi in /var/www/example.com/htdocs/wp-content/plugins/stripe/includes/core/admin/pages.php on line 55
    

    The error didn’t happen when I activated the plugin from wp-admin. Only when wp cli was used to activate the plugin.

    Thanks

    Shashwat

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Plugin activation issue.’ is closed to new replies.