• Resolved pedropmello

    (@pedropmello)


    Good evening,
    For some reason, when I activate the plugin it breaks my woocommerce immediately.

    I received this error here

    {
      "message": "There was an error on your website.",
      "stack": {
        "error-message": "Uncaught Error: syntax error, unexpected ')'",
        "file": "/home/u813958846/domains/YYYY.com.br/public_html/wp-content/plugins/checkout-plugins-stripe-woo/gateway/abstract-payment-gateway.php",
        "line": 427,
        "trace": [
          {
            "function": "autoload",
            "class": "CPSW\\CPSW_Loader",
            "type": "->",
            "args": [
              "CPSW\\Gateway\\Abstract_Payment_Gateway"
            ]
          },
          {
            "file": "/home/u813958846/domains/YYYY.com.br/public_html/wp-content/plugins/checkout-plugins-stripe-woo/gateway/local-gateway.php",
            "line": 26,
            "function": "spl_autoload_call",
            "args": [
              "CPSW\\Gateway\\Abstract_Payment_Gateway"
            ]
          },
          {
            "file": "/home/u813958846/domains/YYYY.com.br/public_html/wp-content/plugins/checkout-plugins-stripe-woo/autoloader.php",
            "line": 79,
            "args": [
              "/home/u813958846/domains/YYYY.com.br/public_html/wp-content/plugins/checkout-plugins-stripe-woo/gateway/local-gateway.php"
            ],
            "function": "require_once"
          },
          {
            "function": "autoload",
            "class": "CPSW\\CPSW_Loader",
            "type": "->",
            "args": [
              "CPSW\\Gateway\\Local_Gateway"
            ]
          },
          {
            "file": "/home/u813958846/domains/YYYY.com.br/public_html/wp-content/plugins/checkout-plugins-stripe-woo/gateway/stripe/sepa.php",
            "line": 27,
            "function": "spl_autoload_call",
            "args": [
              "CPSW\\Gateway\\Local_Gateway"
            ]
          },
          {
            "file": "/home/u813958846/domains/YYYY.com.br/public_html/wp-content/plugins/checkout-plugins-stripe-woo/autoloader.php",
            "line": 79,
            "args": [
              "/home/u813958846/domains/wahana.com.br/public_html/wp-content/plugins/checkout-plugins-stripe-woo/gateway/stripe/sepa.php"
            ],
            "function": "require_once"
          },
          {
            "function": "autoload",
            "class": "CPSW\\CPSW_Loader",
            "type": "->",
            "args": [
              "CPSW\\Gateway\\Stripe\\Sepa"
            ]
          },
          {
            "file": "/home/u813958846/domains/YYYY.com.br/public_html/wp-content/plugins/checkout-plugins-stripe-woo/autoloader.php",
            "line": 166,
            "function": "spl_autoload_call",
            "args": [
              "CPSW\\Gateway\\Stripe\\Sepa"
            ]
          },
          {
            "file": "/home/u813958846/domains/YYYY.com.br/public_html/wp-includes/class-wp-hook.php",
            "line": 307,
            "function": "load_classes",
            "class": "CPSW\\CPSW_Loader",
            "type": "->",
            "args": [
              ""
            ]
          },
          {
            "file": "/home/u813958846/domains/YYYY.com.br/public_html/wp-includes/class-wp-hook.php",
            "line": 331,
            "function": "apply_filters",
            "class": "WP_Hook",
            "type": "->",
            "args": [
              null,
              [
                ""
              ]
            ]
          },
          {
            "file": "/home/u813958846/domains/YYYY.com.br/public_html/wp-includes/plugin.php",
            "line": 474,
            "function": "do_action",
            "class": "WP_Hook",
            "type": "->",
            "args": [
              [
                ""
              ]
            ]
          },
          {
            "file": "/home/u813958846/domains/YYYY.com.br/public_html/wp-settings.php",
            "line": 450,
            "function": "do_action",
            "args": [
              "plugins_loaded"
            ]
          },
          {
            "file": "/home/u813958846/domains/YYYY.com.br/public_html/wp-config.php",
            "line": 102,
            "args": [
              "/home/u813958846/domains/YYYY.com.br/public_html/wp-settings.php"
            ],
            "function": "require_once"
          },
          {
            "file": "/home/u813958846/domains/YYYY.com.br/public_html/wp-load.php",
            "line": 50,
            "args": [
              "/home/u813958846/domains/YYYY.com.br/public_html/wp-config.php"
            ],
            "function": "require_once"
          },
          {
            "file": "/home/u813958846/domains/YYYY.com.br/public_html/wp-admin/admin-ajax.php",
            "line": 22,
            "args": [
              "/home/u813958846/domains/YYYY.com.br/public_html/wp-load.php"
            ],
            "function": "require_once"
          }
        ]
      }
    }

    Do you have any idea how can I solve this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello there,

    Thank you for choosing our product and contacting us!

    We’ve fixed this issue in our latest release.

    Once you update your plugin to the latest version, the issue will be fixed.

    Hope this helps.

    Let us know how it goes.

    Thread Starter pedropmello

    (@pedropmello)

    Many thanks for the reply. But unfortunately for some reason the error persists. I downloaded the version that was used today. When I activate the plugin it breaks the site.

    Hello @pedropmello

    Sorry to hear that your issue has not been resolved yet!

    Can you please confirm if the PHP version on your end is 7.2 or lower? We checked with our developers and think that might be the issue.

    Please try updating to the PHP version 7.2 or higher and let us know how that goes. Do confirm which version you were currently on.

    Hope that helps! Looking forward to hearing from you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The plugin in breaking my woocommerce store’ is closed to new replies.