• Resolved sagejohn

    (@sagejohn)


    Hi I cant access wocommerce page payments and no stats is showing:

    WordPress version 5.9.5
    Current theme: Woodmart Child (version 1.0.0)
    Current plugin: WooCommerce (version 6.1.2)
    PHP version 8.0.28 Error Details
    =============
    An error of type E_ERROR was caused in line 130 of the file /usr/www/users/littlmkmwy/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/WcPayPromotion/Init.php. Error message: Uncaught TypeError: Unsupported operand types: string - int in /usr/www/users/littlmkmwy/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Features/WcPayPromotion/Init.php:130
    Stack trace:
    #0 /usr/www/users/littlmkmwy/wp-includes/class-wp-hook.php(309): Automattic\WooCommerce\Admin\Features\WcPayPromotion\Init::set_gateway_top_of_list(Array)
    #1 /usr/www/users/littlmkmwy/wp-includes/plugin.php(189): WP_Hook->apply_filters('a:14:{s:3:"cod"...', Array)
    #2 /usr/www/users/littlmkmwy/wp-includes/option.php(228): apply_filters('option_woocomme...', 'a:14:{s:3:"cod"...', 'woocommerce_gat...')
    #3 /usr/www/users/littlmkmwy/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(91): get_option('woocommerce_gat...')
    #4 /usr/www/users/littlmkmwy/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(70): WC_Payment_Gateways->init()
    #5 /usr/www/users/littlmkmwy/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(43): WC_Payment_Gateways->__construct()
    #6 /usr/www/users/littlmkmwy/wp-content/plugins/woocommerce/includes/class-woocommerce.php(888): WC_Payment_Gateways::instance()
    #7 /usr/www/users/littlmkmwy/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(93): WooCommerce->payment_gateways()
    #8 /usr/www/users/littlmkmwy/wp-includes/class-wp-hook.php(307): WC_Admin_Menus->settings_page_init('')
    #9 /usr/www/users/littlmkmwy/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #10 /usr/www/users/littlmkmwy/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #11 /usr/www/users/littlmkmwy/wp-admin/admin.php(237): do_action('load-woocommerc...')
    #12 {main}
     thrown
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @sagejohn

    Thanks for reaching out!

    Hi I cant access wocommerce page payments and no stats is showing:

    To better picture what you are referring to here, can you please share with us a clear screenshot of what you see on your end so that we could address you more effectively?

    If you don’t already have a screenshot service installed, you can try https://snipboard.io. You can share the direct link to the image as a response to this topic.

    I’d like to understand your site properly, please share your System Status Report that you can find via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Thanks!

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @sagejohn ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.

    Cheers!

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