• Stef

    (@serafinnyc)


    Hey YOT, your app is going bonkers and throwing an error

    [17-Oct-2022 21:23:58 UTC] Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is <strong>deprecated</strong> since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.

    And you also have an error on line 454
    [17-Oct-2022 21:50:10 UTC] PHP Notice: Trying to access array offset on value of type null in /home/customer/www/staging6.brindlepets.ca/public_html/wp-content/plugins/yotpo-social-reviews-for-woocommerce/wc_yotpo.php on line 454

    Now I know you throw out a Warning: This plugin has not been tested with your current version of WordPress.

    It would be nice if you could patch this bug soon so client’s aren’t going insane. Thanks.

    Stef

Viewing 2 replies - 1 through 2 (of 2 total)
  • Same thing here (error on line 454) – would love to see a fix so my error logs aren’t getting bombarded with this one.

    @serafinnyc – fixed this one and another one that showed up after the fix:

    line 452 (on my build), commented out the line, and changed it to:

        //if($error['type'] == 1){
        if(isset($error['type']) && $error['type'] == 1){

    and then up the file on line 76:

    		//if($settings['qna_enabled_product']) {	
    		if(isset($settings['qna_enabled_product']) && $settings['qna_enabled_product']) {	
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘App Is Throwing Repeated Error Every 3 to 4 Minutes’ is closed to new replies.