Hi @duffmancc (oh, yeah!),
I tried to reproduce the issue but I can replace a .zip file with another .zip file with no issues.
Can you please tell me what plugin version you have installed?
Thanks,
Hi Gerard,
I’ve tried with 3.5.0 and 3.6.0 and both fails.
ErrorException thrown with message "Trying to access array offset on value of type bool"
Stacktrace:
#9 ErrorException in /Users/.../public/wp-content/plugins/enable-media-replace/classes/uihelper.php:195
#8 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /Users/.../public/wp-content/plugins/enable-media-replace/classes/uihelper.php:195
#7 EnableMediaReplace\UIHelper:getImageSizes in /Users/.../public/wp-content/plugins/enable-media-replace/classes/uihelper.php:100
#6 EnableMediaReplace\UIHelper:setSourceSizes in /Users/.../public/wp-content/plugins/enable-media-replace/views/popup.php:48
#5 require_once in /Users/.../public/wp-content/plugins/enable-media-replace/classes/emr-plugin.php:154
#4 EnableMediaReplace\EnableMediaReplacePlugin:route in /Users/.../public/wp-includes/class-wp-hook.php:303
#3 WP_Hook:apply_filters in /Users/.../public/wp-includes/class-wp-hook.php:327
#2 WP_Hook:do_action in /Users/.../public/wp-includes/plugin.php:470
#1 do_action in /Users/.../public/wp-admin/admin.php:259
#0 require_once in /Users/.../public/wp-admin/upload.php:10
Hi @duffmancc,
Can you try replacing the file with all the rest of the plugins deactivated?
If that doesn’t help, can you tell me step by step how to reproduce the issue? Make sure to mention exactly what options you click on, and please send us an example file.
Thank you!
Hi @sixaxis ,
I’ve tried it deactivating all the plugins and is still failing.
Basically, it fails when I click the “Upload a new file” button, I don’t reach the next page.
And I’ve tested with a sample .zip from here:
https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-zip-file.zip
WP Version 5.8.1
Plugin Version 3.6.0
Hi there,
That’s quite strange. You mean this button, right?
Could you please go to Tools > Site Health > Info, click on “Copy site info to clipboard” and paste it here?
Also, we just released a new plugin version. Can you update please and tell me if the issue is solved there?
Thanks!
Hi @sixaxis ,
the new version doesn’t fix the problem.
I mean this button, so I don’t reach the page you are showing.
Thanks.
Thanks, @duffmancc.
Could you please go to Tools > Site Health > Info, click on “Copy site info to clipboard” and paste it here?
Thank you!