Can’t access order detail in backoffice while extension is enabled
-
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=editI 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
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Can’t access order detail in backoffice while extension is enabled’ is closed to new replies.