• Resolved sawanoboly

    (@sawanoboly)


    Hi,

    When restoring from a backup, retry loops if activation of the plug-in fails.
    On the dashboard, you don’t know what’s going on, it looks like the process isn’t progressing, and if you look at the logs you can see that the same Fatal Error keeps coming out.

    I work around this by disabling the plugin in advance when taking a backup.

    If possible, skip such plugins or catch a Fatal Error and show it in the dashboard progress and stop it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Yani

    (@yaniiliev)

    The “Activating plugins” step happens at the very end of the import process. It is after all other content and database have been imported.

    The usual way to figure out what is going on is to enable WP_DEBUG in wp-config.php and see the issue.

    The plugins need to be activated all at once. We cannot activate them one by one because there are dependencies between plugins and if the parent plugin is not activated the dependable plugin will throw an error. There is no way to know about these dependencies right now and catching these errors is not possible yet. Also not uncommon is to have plugins <> theme dependencies.

    When the technology permits this or we become smarted and figure out a way to do this reliably, we will definitely make such change.

    Thread Starter sawanoboly

    (@sawanoboly)

    Thanks for the answer, I understand that this situation is hard to avoid.

    So what do you think about setting a timeout for the plugin activation process? Normally, I think it should take a few seconds, at most a few minutes.
    My clients are patient and often report “I’m in trouble because it doesn’t end in hours.”

    Plugin Author Yani

    (@yaniiliev)

    Yes, it is one of the ideas that we have there.
    If you are using the latest version of the plugin, the screen should not get stuck there.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Could you please skip on activating plugins when occurred PHP Fatal error?’ is closed to new replies.