• Resolved glennpresents

    (@glennpresents)


    I have found that when I upgrade from PHP 7.4 to 8.x on my website, the interface between my retail system and the website using the REST API has an issue. Specifically if I have an image embedded in the product description then the interface rejects the entire description including the embedded image. Everything else transfers across fine, but the product description is blank. This works fine when I have PHP v7.4 on my website but on PHP 8, 8.1, 8.2 or 8.3 it fails. I have tested this with all plugins inactive except Woocommerce but the issue persists. I have been told the REST API is not impacted by the PHP version but nevertheless it is the only constant when the issue occurs.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @glennpresents

    It’s generally correct that the REST API shouldn’t be directly affected by the PHP version, it’s possible that some changes in PHP 8.X are causing this issue. PHP 8 introduced a lot of changes and some of these might affect how the REST API works with your specific setup.

    I would suggest consider reaching out to the developer of your retail system. They might have encountered this issue before and may have a fix or workaround.

    Additionally, it’s best to ask for insight related to those on either the WooCommerce Advanced Facebook group or the WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question. You can also seek help from the following:

    I wish I could help more, but hopefully, this gets you going in the right direction to get some further insight/information.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @glennpresents

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem!

    If you have further questions, please feel free to open a new topic.

    Thanks!

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