• Resolved nghtmre

    (@nghtmre)


    Since the last update, I have several sites that have critical errors. I need to remove the plugin to get the site back to normal. Even if you reinstall the plugin by adding an extension, the site returns to a critical error.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    If you’re encountering the following error:

    Cannot declare class WP_Async_Request, because the name is already in use

    You can resolve it by updating the content of two specific files in the SecuPress plugin. Follow these steps:

    1. File 1: Replace the content of the file:
      wp-content/plugins/secupress/free/classes/admin/class-secupress-admin-wp-async-request.php
      with the content of:
      wp-content/plugins/secupress/free/classes/admin/__class-secupress-admin-wp-async-request.php
    2. File 2: Similarly, replace the content of:
      wp-content/plugins/secupress/free/classes/admin/class-secupress-admin-wp-background-process.php
      with the content of:
      wp-content/plugins/secupress/free/classes/admin/__class-secupress-admin-wp-background-process.php

    Once these files are updated, the error should be resolved, and your site should work properly.

    I have notified the plugin developers, and there will likely be a proper fix soon if they approve the correction.

    Let me know if this works for you!

    Plugin Author SecuPress

    (@secupress)

    Hello, thank you for the fix, but this is not correct, by doing this, you go back in time instead of updating the class.

    Also, and of course, my bad, I forgot a class_exists -_-‘

    v2.3.1 is available now, thank you for your patience

    Thank you for your responsiveness !

    Plugin Author SecuPress

    (@secupress)

    haaaaaa the shame version numbeeeer

    2.3.1.1 available -_-‘

    Thread Starter nghtmre

    (@nghtmre)

    Yes I did the new update and it works.

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

The topic ‘Critical error’ is closed to new replies.