• When uploading a file in the Media Library the following error appears:

    “An error occurred in the upload. Please try again later.”

    This error disappears when we disable this plugin. Please could you investigate?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author DeBAAT

    (@debaat)

    Sorry liamwg to read the plugin shows an error.

    Unfortunately, I cannot reproduce the issue on my dev site. Could you please provide some more details on the media you are trying to upload?

    Another thing you could try is check the setting for “Use Default Category”. If it is checked, the plugin tries to assign the default category to the uploaded media. The value it uses is defined in “Default Media Category”. Could you do some tests:

    1. Uncheck the setting “Use Default Category”.

    2. Check the setting “Use Default Category” but use another value for “Default Media Category”.

    Do these still generate the error?

    Hope to hear from you to solve this issue.

    Thread Starter liamwg

    (@liamwg)

    Thank you for your response.

    We already had ‘Use Default Category’ unchecked. Digging further, we have the following errors logged after uploading a file:

    PHP Warning: Undefined variable $t in /wp-content/plugins/wp-media-category-management/include/taxonomy/class-WP_MCM_Taxonomy_Admin.php on line 230

    PHP Warning: Trying to access array offset on value of type null in /wp-content/plugins/wp-media-category-management/include/taxonomy/class-WP_MCM_Taxonomy_Admin.php on line 230

    We can replicate this issue locally and on live (using WPEngine).

    Plugin Author DeBAAT

    (@debaat)

    Hai laimwg,

    The issue you described, I still cannot reproduce. However, the error that you show does ring a bell when looking at the other issue on this forum. So I do have a strong feeling it might be solved with the latest version.

    Would you be so kind as to test again? Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘An error occurred in the upload. Please try again later.’ is closed to new replies.