• I will get following error when I change the status form an order or the user triggers an order:

    An unexpected problem occurred with the API request. Some causes include: invalid JSON or XML returned. Here is the actual response from the server: ———

    No cause of the error is shown..

    What I found so far is:
    Undefined variable: form_signup in …/public_html/mysite/wp-content/plugins/wc-ac-hook/wc-ac-hook.php on line 112

    WooCommerce Version: 3.9.2
    Wordpress Version: 5.3.2

    • This topic was modified 4 years, 9 months ago by AnimeSubways.
Viewing 1 replies (of 1 total)
  • Plugin Author mtreherne

    (@mtreherne)

    Hi there – The undefined variable message is a notice (that will be shown when E_NOTICE error level is enabled in PHP).

    The variable (form_signup) is not initialised so a low level error (E_NOTICE) is reported. That lack of initialisation, while not being the perfect coding standard, will not be causing a problem for either this plugin (or any other).

    Nonetheless if you have a problem with wc-ac-hook then let me know.

    Check the debug logs for messages if you are having problems syncing contacts. See the plugin FAQ ‘I’m having problems syncing contacts, can I view a debug log?’.

    If you think the wc-ac-hook is not playing nicely with other plugins, then the first test I would suggest is to temporarily disable wc-ac-hook to check if it is causing the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘An unexpected problem occurred with the API request’ is closed to new replies.