• Resolved Arno Welzel

    (@awelzel)


    When I try to activate it in a multisite setup there is only an error message that the plugin can’t be activated due to a fatal error.

    Runtime environment:

    PHP 7.2
    Apache 2.4
    WordPress 5.2.2 with multisite setup

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

    (@alanp57)

    For multisites we recommend that you not use the network activate as when Media Library Folders is first activated, it has to scan all the items in each site’s media library and this could take longer than a server is configured to allow. Try activating the plugin on individual sites and if you still get the fatal error message, you can turn on WordPress debugging to get the details about the error.

    To turn on WordPress debugging, edit the site’s wp-config.php file and change

    define('WP_DEBUG', false);

    to

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors', 0);

    (Be sure to change this back when you are done.)

    This will allow different kinds of messages, some will not be related to Media Library Folders, to be written to a debug.log file in the wp-content folder. Now activate the plugin and check the debug.log file. You can send the file to me, alan@maxfoundry.com.

    Thread Starter Arno Welzel

    (@awelzel)

    Thank you for the quick reply!

    Indeed when activating site by site it works better.

    • This reply was modified 6 years, 9 months ago by Arno Welzel.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error when activating in WordPress 5.2.2’ is closed to new replies.