preg_match() Expects Parameter to Be String Error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1957

    I created an ecommerce website using oceanwp theme and woocommerce plugin. Now the problem with it is that whenever I click on “Proceed to Payment” it gives me these errors:


    But when I try it on my localhost it works fine and proceeds to the paypal payment method I have. I am hosting this on []( if that helps, I don’t have any subscriptions on it just the free hosting and here’s the list of all the [plugins]( I have installed, all are activated. Also it was working fine when I initially set it up so I don’t know why it won’t work now. Any help is very much appreciated. I tried googling the issue but it always gave me results about plugins that I never have installed to be the ones causing the issue.

    SOLVED: Turns out the issue was that my hosting site is blocking the curl request, had to submit a ticket to my hosting site to fix it


    Do you have PHP errors enabled on your local environment? It’s not impossible that you get the same errors, but that errors are just suppressed locally.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.