• Resolved vm4rst

    (@vm4rst)


    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have a similar problem since few days, when ADP is enabled the order page in my backoffice report the following problem:

    content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Database/Models/Rule.php on line 211

    Many orders went failed but don’t know if there is a connection on it.
    I need to keep it disabled for the moment.

    Please help us!
    Andrea

    I have a similar issue with the plugin, and I can’t see the order details, and I don’t receive the email notification for the new order.

    Please, I need a solution.
    Guadalupe

    Plugin Support thisisirene

    (@thisisirene)

    Hello, @byjackieoficial, @benna69, @vm4rst!

    This is a bug, we have fixed it and released the update today. Please, update the plugin now and check your sites.

    Sorry for the inconveniences!

    Updated, Enabled and works again.
    Thanks so much @thisisirene

    Thread Starter vm4rst

    (@vm4rst)

    Thank @thisisirene I do confirm that it works after update.
    Many thanks for the reactivity.

    Yes, It works now. Thanks!

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.