Title: 500 Error with Media Cloud
Last modified: June 1, 2018

---

# 500 Error with Media Cloud

 *  Resolved [Sanjay](https://wordpress.org/support/users/sanjaysarraf/)
 * (@sanjaysarraf)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/500-error-with-media-cloud/)
 * Hello,
 * Getting 500 error when activating woocommerce plugin with [Media Cloud](https://wordpress.org/plugins/ilab-media-tools/).
   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.1
 * Thanks!
    -  This topic was modified 7 years, 11 months ago by [Sanjay](https://wordpress.org/support/users/sanjaysarraf/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2F500-error-with-media-cloud%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Support [Riaan K.](https://wordpress.org/support/users/riaanknoetze/)
 * (@riaanknoetze)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/500-error-with-media-cloud/#post-10339166)
 * 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!
 *  Thread Starter [Sanjay](https://wordpress.org/support/users/sanjaysarraf/)
 * (@sanjaysarraf)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/500-error-with-media-cloud/#post-10339192)
 * 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](https://wordpress.org/support/users/sanjaysarraf/).
 *  Plugin Support [Riaan K.](https://wordpress.org/support/users/riaanknoetze/)
 * (@riaanknoetze)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/500-error-with-media-cloud/#post-10339219)
 * 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/ZvErOx](http://cld.wthms.co/ZvErOx)
 *  Thread Starter [Sanjay](https://wordpress.org/support/users/sanjaysarraf/)
 * (@sanjaysarraf)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/500-error-with-media-cloud/#post-10339246)
 * RK, 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.
 *  Thread Starter [Sanjay](https://wordpress.org/support/users/sanjaysarraf/)
 * (@sanjaysarraf)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/500-error-with-media-cloud/#post-10339269)
 * 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 124
 *  Plugin Support [Riaan K.](https://wordpress.org/support/users/riaanknoetze/)
 * (@riaanknoetze)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/500-error-with-media-cloud/#post-10339314)
 * Thanks 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.php
       ```
   
 * Based 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.
 *  Thread Starter [Sanjay](https://wordpress.org/support/users/sanjaysarraf/)
 * (@sanjaysarraf)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/500-error-with-media-cloud/#post-10339331)
 * Okay. So Is there any fix for this, so that i can keep continue using both the
   plugins together?
 *  Plugin Support [Riaan K.](https://wordpress.org/support/users/riaanknoetze/)
 * (@riaanknoetze)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/500-error-with-media-cloud/#post-10339382)
 * 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](https://wordpress.org/support/plugin/ilab-media-tools)
 *  Thread Starter [Sanjay](https://wordpress.org/support/users/sanjaysarraf/)
 * (@sanjaysarraf)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/500-error-with-media-cloud/#post-10339389)
 * Yes i already posted the issue with them. Thanks!
 *  Thread Starter [Sanjay](https://wordpress.org/support/users/sanjaysarraf/)
 * (@sanjaysarraf)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/500-error-with-media-cloud/#post-10347106)
 * 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.
 *  Plugin Support [John Coy a11n](https://wordpress.org/support/users/johndcoy/)
 * (@johndcoy)
 * Automattic Happiness Engineer
 * [7 years, 11 months ago](https://wordpress.org/support/topic/500-error-with-media-cloud/#post-10347630)
 * Hi [@sanjaysarraf](https://wordpress.org/support/users/sanjaysarraf/)
 * 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.
 *  Thread Starter [Sanjay](https://wordpress.org/support/users/sanjaysarraf/)
 * (@sanjaysarraf)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/500-error-with-media-cloud/#post-10347636)
 * Hi [@johndcoy](https://wordpress.org/support/users/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
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [7 years, 11 months ago](https://wordpress.org/support/topic/500-error-with-media-cloud/#post-10351310)
 * > 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](https://wordpress.org/support/guidelines/#do-not-offer-to-pay-for-help)
 * If you need paid support then consider posting [https://jobs.wordpress.net/](https://jobs.wordpress.net/)
   or [https://jetpack.pro/](https://jetpack.pro/) instead.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘500 Error with Media Cloud’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [mediacloud](https://wordpress.org/support/topic-tag/mediacloud/)

 * 13 replies
 * 4 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/500-error-with-media-cloud/#post-10351310)
 * Status: resolved