• Resolved khsana04

    (@khsana04)


    Hello,

    I am having problem whenever I tested to upload CSV file with one row for test, I get this error: adjust_download_permissions, and the log is:
    unexpected shutdown: PHP Fatal error Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\Internal\DownloadPermissionsAdjuster::get_download_files_and_permissions() must be an instance of WC_Product, bool given, called in /hermes/bosnacweb08/bosnacweb08ac/b1470/ipg.ewlcompany/sirprize/newboystore/wp-content/plugins/woocommerce/src/Internal/DownloadPermissionsAdjuster.php on line 103 and defined in /hermes/bosnacweb08/bosnacweb08ac/b1470/ipg.ewlcompany/sirprize/newboystore/wp-content/plugins/woocommerce/src/Internal/DownloadPermissionsAdjuster.php:138 Stack trace: #0 /hermes/bosnacweb08/bosnacweb08ac/b1470/ipg.ewlcompany/sirprize/newboystore/wp-content/plugins/woocommerce/src/Internal/DownloadPermissionsAdjuster.php(103): Automattic\WooCommerce\Internal\DownloadPermissionsAdjuster->get_download_files_and_permissions(false) #1 /hermes/bosnacweb08/bosnacweb08ac/b1470/ipg.ewlcompany/sirprize/newboystore/wp-includes/class-wp-hook.php(292): Automattic\WooCommerce\Internal\DownloadPermissionsAdjuster->adjust_download_permissions(34) #2 /herm in /hermes/bosnacweb08/bosnacweb08ac/b1470/ipg.ewlcompany/sirprize/newboystore/wp-content/plugins/woocommerce/src/Internal/DownloadPermissionsAdjuster.php on line 138

Viewing 4 replies - 1 through 4 (of 4 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @khsana04,

    This kind of problem is usually caused by a conflict with your theme or with another plugin. The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem
    • If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated.

      To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

      Please make sure you have a backup in place of your site and database. You could also consider using a service like Jetpack. If something goes wrong, it’s nice to know that you can restore your site to the previous state.

      I’d also suggest installing a plugin called Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it allows you to disable plugins without affecting your current site visitors.

      Thanks!

    Thread Starter khsana04

    (@khsana04)

    Thank you Mirko P for the reply.

    I am still having this error but it seems it goes after few seconds, maybe because there is some sorting going on i the background.

    Plugin Support Thu P. a11n

    (@thup90)

    Hi there,

    To confirm, have you tried the conflict test we mentioned in our reply and still have issues with this?

    Plugin Support abwaita a11n

    (@abwaita)

    Hi,
    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem!

    If you have further questions, please feel free to open a new topic.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘adjust_download_permissions Faild’ is closed to new replies.