500 Error with Media Cloud
-
Hello,
Getting 500 error when activating woocommerce plugin with Media Cloud. When i bdeativate the woocommerce website loading fine but as i activate woocommerce and media cloud plugin together its throw 500 error.
using:
Wordpress 4.9.6
Php 7.2
Google cloud storage
woocommerce 3.4.1Thanks!
-
This topic was modified 7 years, 11 months ago by
Sanjay.
The page I need help with: [log in to see the link]
-
This topic was modified 7 years, 11 months ago by
-
Hi there,
Just to check, does WooCommerce work as expected when deactivating Media Cloud first?
Also, would you mind posting a copy of your PHP error log here? If you’re unsure where to find that, please get in touch with your hosting providers to ask for a copy. With this in mind, we should be in a better position to see what exactly is triggering that error 500.
Thanks!
Hi RK,
Yes WooCommerce working as expected when deactivating Media Cloud. And Media Cloud is also working when WooCommerce deativating but not together. It seems both are enemy of each other. 😉
As far as error log concern its nothing showing. As I activating plugins the website goes down. You can test in some test account if you have by activating both the plugins together. I test it on 4 installation but I got the same thing.
Thanks!
-
This reply was modified 7 years, 11 months ago by
Sanjay.
This seems to be limited to your hosting setup only 🙂
When activating both plugins on my local testing installation, everything continues to work as expected. Here’s a screenshot to illustrate that better:
Link to image: http://cld.wthms.co/ZvErOxRK, Thanks for the testing.
Yes, It was and is working from my side as well until I setup the google cloud storage in Media Cloud but as I setup the credentials and Imgix credentials it goes down And start again after I deactivating WooCommerce.
Here is the error log i found now:
[29-May-2018 17:43:00 America/Chicago] PHP Fatal error: Uncaught Error: Call to undefined function ILAB\MediaCloud\Utilities\wp_get_current_user() in /home/xxxxx/public_html/assets/plugins/ilab-media-tools/classes/Utilities/Prefixer.php:124
Stack trace:
#0 /home/xxxxx/public_html/assets/plugins/ilab-media-tools/classes/Utilities/Prefixer.php(163): ILAB\MediaCloud\Utilities\Prefixer->parsePrefix(‘@{versioning}’, NULL)
#1 /home/xxxxx/public_html/assets/plugins/ilab-media-tools/classes/Cloud/Storage/StorageSettings.php(122): ILAB\MediaCloud\Utilities\Prefixer::Parse(‘@{versioning}’, NULL)
#2 /home/xxxxx/public_html/assets/plugins/ilab-media-tools/classes/Tools/Storage/StorageTool.php(371): ILAB\MediaCloud\Cloud\Storage\StorageSettings::prefix(NULL)
#3 /home/xxxxx/public_html/wp-includes/class-wp-hook.php(286): ILAB\MediaCloud\Tools\Storage\StorageTool->getUploadDir(Array)
#4 /home/xxxxx/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
#5 /home/xxxxx/public_html/wp-includes/functions.php(1888): apply_filters(‘upload_di in /home/xxxxx/public_html/assets/plugins/ilab-media-tools/classes/Utilities/Prefixer.php on line 124Thanks for that error log. Looking closely, you’ll notice the following:
Call to undefined function ... wp_get_current_user()inside the following file:
plugins/ilab-media-tools/classes/Utilities/Prefixer.phpBased on this, it’s safe to say that WooCommerce isn’t at fault here since the error code is generated by a plugin that’s in the ilab-media-tools directory (I suspect this is the Media Tools plugin you’re using).
Hope it helps.
Okay. So Is there any fix for this, so that i can keep continue using both the plugins together?
The fix would need to come from Media Tools – it’s not something that WooCommerce would have any control over since the error is generated from by their plugin 🙂
I would also recommend reaching out to the Media Cloud developers for more support on this. From what I can see, their support channel is available at https://wordpress.org/support/plugin/ilab-media-tools
Yes i already posted the issue with them. Thanks!
The Media Cloud Plugin author saying
The plugin hasn’t been updated in over six months. So if this is a new issue you are running into, then it has to be a woocommerce issue.
I am sorry you received such terrible support from Media Cloud. This is there issues and their plugin not keeping up with the latest web standards and WordPress core updates in the last 6 months, is likely why their plugin is failing.
I hope you get someone competent when reaching out to them again.
Hi @johndcoy
You are absolutely right, however are there any anyone from WooCommerce who can fix this for me? There is only prefixer issue with their plugin. I can Pay if anyone can fix it.Thanks
I can Pay if anyone can fix it.
Per the forum guideline I am now closing this topic.
https://wordpress.org/support/guidelines/#do-not-offer-to-pay-for-help
If you need paid support then consider posting https://jobs.wordpress.net/ or https://jetpack.pro/ instead.
-
This reply was modified 7 years, 11 months ago by
The topic ‘500 Error with Media Cloud’ is closed to new replies.