preg_match() Expects Parameter to Be String Error

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

    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:

    ​

    https://preview.redd.it/kbxrjiykttu51.png?width=1201&format=png&auto=webp&s=b53ca166f43675ee2393ba7c7893db49309e8adf

    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 [awardspace.com](https://awardspace.com) if that helps, I don’t have any subscriptions on it just the free hosting and here’s the list of all the [plugins](https://pastebin.com/vzcJxvG3) 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

    #1959
    Valoneria
    Guest

    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.