• Using PHP 7 (though I’ve tried 5.6) I get a 500 error and unable to work at all on changing settings in the plugin. I’ve even deleted and reinstalled, and upon activation, the site hits a 500 error.

    
    [07-Oct-2017 23:33:56 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function ILAB\MediaCloud\Utilities\wp_get_current_user() in /home/username/spyonaz.com/wp-content/plugins/ilab-media-tools/classes/Utilities/Prefixer.php:124
    Stack trace:
    #0 /home/username/spyonaz.com/wp-content/plugins/ilab-media-tools/classes/Utilities/Prefixer.php(163): ILAB\MediaCloud\Utilities\Prefixer->parsePrefix('spy_', NULL)
    #1 /home/username/spyonaz.com/wp-content/plugins/ilab-media-tools/classes/Cloud/Storage/StorageSettings.php(122): ILAB\MediaCloud\Utilities\Prefixer::Parse('spy_', NULL)
    #2 /home/username/spyonaz.com/wp-content/plugins/ilab-media-tools/classes/Tools/Storage/StorageTool.php(371): ILAB\MediaCloud\Cloud\Storage\StorageSettings::prefix(NULL)
    #3 /home/username/spyonaz.com/wp-includes/class-wp-hook.php(298): ILAB\MediaCloud\Tools\Storage\StorageTool->getUploadDir(Array)
    #4 /home/username/spyonaz.com/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
    #5 /home/username/spyonaz.com/wp-includes/functions.php(1880): apply_filters('upload_dir' in /home/username/spyonaz.com/wp-content/plugins/ilab-media-tools/classes/Utilities/Prefixer.php on line 124
    

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author interfacelab

    (@interfacelab)

    I would disable all of your other plugins, then enable Media Cloud and still see if you get the 500 error.

    The fatal error you are reporting doesn’t make any sense since the function it is saying is undefined is defined in WordPress. This means that something is triggering the upload_dir filter before WordPress is completely loaded. So it has to be another plugin or your WordPress install is messed up somehow.

    Plugin Author interfacelab

    (@interfacelab)

    Did you get this working?

    Can you share the list of plugins you are using?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘500 Error on Plugin Activate’ is closed to new replies.