Support » Plugin: Custom Upload Dir » Warning: array_key_exists() expects parameter 2 to be array, null given

  • Resolved defotoverij

    (@defotoverij)


    Hi,

    For more than a year now, I’m a happy user of the custom-upload-dir plugin.
    At this moment, I receive the folowing error when adding products to my shopping cart:
    Warning: array_key_exists() expects parameter 2 to be array, null given in /home/deb90669/domains/defotoverij.be/public_html/wp-content/plugins/custom-upload-dir/custom_upload_dir.php on line 184

    I’m using version 3.4.5 of the plugin and wordpress 5.4.2.

    Do you have any idea what could go wrong? Adding products that don’t require a file to be uploaded, still work fine.

    Thanks for your help!
    Lieven

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter defotoverij

    (@defotoverij)

    I did a few more tests. When I rollback the custom-upload-dir to version 3.4.3.2 my site works fine again. Hope this helps to find the problem.
    If I can help with further information, please let me know!

    Plugin Author ulfben

    (@ulfben)

    Thanks for reporting! I need help testing the patch – can you install the fixed version from trunk and try to replicate the issue?

    1. Download custom_upload_dir.php and readme.txt, and replace the ones on your server.
    2. Try to replicate the error.
    3. Let me know if it works, so I can publish the patch.

    Thanks again!

    Thread Starter defotoverij

    (@defotoverij)

    Wow, thanks for your fast response!
    I installed your new version 3.4.6 and everything seems to work fine now. Great help!
    As far as I’m concerned, your patch is ready for being published!

    Thanks again and good luck with your future developments!

    Plugin Author ulfben

    (@ulfben)

    Great. 3.4.6 is the new stable version. Everyone will be notified about the upgrade in their WordPress admin panel. Thanks for the quick feedback!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: array_key_exists() expects parameter 2 to be array, null given’ is closed to new replies.