Can’t access order detail in backoffice while extension is enabled

[ad_1]

Hello,

I got a 500 error while accessing the order detail page only for orders containing product with activated dynamic rule (same for the ajax preview). Other orders work normally.
The URL I want to access: .wp-admin/post.php?post=18147&action=edit

I have the following error:

2022/09/13 21:03:22 [error] 652#652: *13387 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: array_walk(): Argument #1 ($array) must be of type array, string given in /mnt/disk/vhosts/mysite/httpdocs/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Database/Models/Rule.php:211
Stack trace:
#0 /mnt/disk/vhosts/mysite/httpdocs/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Database/Models/Rule.php(211): array_walk()
#1 /mnt/disk/vhosts/mysite/httpdocs/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Database/Repository/OrderRepository.php(55): ADP\BaseVersion\Includes\Database\Models\Rule::fromArray()
#2 [internal function]: ADP\BaseVersion\Includes\Database\Repository\OrderRepository->ADP\BaseVersion\Includes\Database\Repository\{closure}()
#3 /mnt/disk/vhosts/mysite/httpdocs/wp-content/plugins/advance" while reading response header from upstream, client: 127.0.0.1, server: mysite, request: "GET /wp-admin/post.php?post=18147&action=edit HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "mysite", referrer: "https://mysite/wp-admin/edit.php?post_type=shop_order"

I precise that I can access this order detail page after having disabled the ADP extension.

Any help would be appreciated.

Many thanks

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer