Support » Plugin: Trustpilot Reviews » Error on Order page

  • Resolved madalina251

    (@madalina251)


    Hi all,

    I’ve been getting the below error after customers place an order on my website:

    Notice: Undefined property: stdClass::$mappedInvitationTrigger in wp-content/plugins/trustpilot-reviews/review/Orders.php on line 123

    Warning: in_array() expects parameter 2 to be array, null given in /homepages/20/d772643783/htdocs/clickandbuilds/wp-content/plugins/trustpilot-reviews/review/Orders.php on line 123

    Any ideas how to fix it please? I’ve tried to reinstall the plugin but the error doesn’t disappear
    Thanks,

Viewing 4 replies - 1 through 4 (of 4 total)
  • lkulas

    (@lkulas)

    We are also getting an error message on the order confirmation page,

    Warning: in_array() expects parameter 2 to be array, null given in …/wp-content/plugins/trustpilot-reviews/review/api/TrustpilotPluginStatus.php on line 11

    Very odd especially since WP_DEBUG is set to false and the message is still displaying on the front of site.

    akafaust

    (@akafaust)

    You talk about different errors, but I also have a mistake at thank-you page

    Notice: Undefined property: stdClass::$blockedDomains in /var/www/html/wp-content/plugins/trustpilot-reviews/review/api/TrustpilotPluginStatus.php on line 11

    Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/wp-content/plugins/trustpilot-reviews/review/api/TrustpilotPluginStatus.php on line 11

    https://prnt.sc/q0ykx2

    I’m not sure why, but I don’t have the option “trustpilot_plugin_status”

    Hi all,

    If I enable the WP_DEBUG mode, I have exactly the same error on the WooCommerce Thank You page:

    Notice: Undefined property: stdClass::$blockedDomains in /home/eproducts/domains/xxxxxxx.nl/public_html/wp-content/plugins/trustpilot-reviews/review/api/TrustpilotPluginStatus.php on line 11

    Warning: in_array() expects parameter 2 to be array, null given in /home/eproducts/domains/xxxxxxx.nl/public_html/wp-content/plugins/trustpilot-reviews/review/api/TrustpilotPluginStatus.php on line 11

    btw. I have replaced mydomainname.nl with xxxxxxx.nl

    Trustpilot developers: PLEASE FIX THIS BUG!

    • This reply was modified 9 months, 3 weeks ago by Konijntje.
    Plugin Author Trustpilot

    (@trustpilotapp)

    Hello,

    We have released a new version of the plugin with the fix for this issue mentioned above.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error on Order page’ is closed to new replies.