• Resolved taniav

    (@taniav)


    I got the AIOS firewall error: unable to locate workspace. error messages.
    I searched the forum and found 1 post about this issue.

    I want to let you know that I still got the error on WordPress version 6.0.2, plugin version 5.0.7, and PHP version 7.4.30.

    I always updated the plugin immediately whenever I got notification that there is new version available. So, it looks like no version has solved it yet…

    These are how many times I got the error messages:
    16 messages on 2 September 2022.
    17 messages on 3 September 2022.
    17 messages on 4 September 2022.
    17 messages on 5 September 2022.
    17 messages on 6 September 2022.
    17 messages on 7 September 2022.
    17 messages on 8 September 2022.
    17 messages on 9 September 2022.
    17 messages on 10 September 2022.
    17 messages on 11 September 2022.
    17 messages on 12 September 2022.
    17 messages on 13 September 2022.
    17 messages on 14 September 2022.
    17 messages on 15 September 2022.
    17 messages on 16 September 2022.
    1 message (so far) on 17 September 2022.

    The messages usually occurs between 09:30 – 10:30 GMT.

    The folder /wp-content/uploads/aios has 0755 permission.

    There is the file wp-content/uploads/aios/firewall-rules/settings.php with content:

    <?php __halt_compiler();
    []

    I also have other security plugin installed: Wordfence Security. Both Wordfence Security and All In One WP Security are always installed on my site, but the error occurred only after All In One WP Security’s recent updates.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Prashant Baldha

    (@pmbaldha)

    May I know any schedular job running between 09:30 – 10:30 GMT and which scheduler job is running in these time periods?

    Thread Starter taniav

    (@taniav)

    Today I checked the cron jobs running on my site using WP Crontrol plugin.

    I kept watching the jobs near usual time periods and noted the sequence as below:

    
    9:26:27	aios_15_minutes_cron_event [every 15 minutes]
    9:31:26	wordfence_hourly_cron [once hourly]
    9:32:26	aiowps_hourly_cron_event [once hourly]
    9:34:26	fluentform_do_scheduled_tasks [every 5 minutes]
    9:35:32	w3_pgcache_cleanup [every 3600 seconds]
    9:35:32	w3_pgcache_prime [every 900 seconds]
    9:39:26	fluentform_do_scheduled_tasks [every 5 minutes]
    9:41:27	aios_15_minutes_cron_event [every 15 minutes]
    9:44:26	fluentform_do_scheduled_tasks [every 5 minutes]
    9:45:18 AIOS firewall error: unable to locate workspace
    9:45:23 AIOS firewall error: unable to locate workspace
    9:45:27 AIOS firewall error: unable to locate workspace
    9:45:32 AIOS firewall error: unable to locate workspace
    9:45:36 AIOS firewall error: unable to locate workspace
    9:45:39 AIOS firewall error: unable to locate workspace
    9:45:43 AIOS firewall error: unable to locate workspace
    9:45:48 AIOS firewall error: unable to locate workspace
    9:45:53 AIOS firewall error: unable to locate workspace
    9:45:56 AIOS firewall error: unable to locate workspace
    9:45:59 AIOS firewall error: unable to locate workspace
    9:46:01 AIOS firewall error: unable to locate workspace
    9:46:04 AIOS firewall error: unable to locate workspace
    9:46:07 AIOS firewall error: unable to locate workspace
    9:46:10 AIOS firewall error: unable to locate workspace
    9:46:13 AIOS firewall error: unable to locate workspace
    
    Plugin Contributor Prashant Baldha

    (@pmbaldha)

    Please follow the below steps:

    • Open your site’s file manager or FTP.
    • Open their aios-bootstrap.php file in the root folder.
    • Change the code line $aiowps_firewall_rules_path = __DIR__.'/wp-content/uploads/aios/firewall-rules/'; to $GLOBALS['aiowps_firewall_rules_path'] = __DIR__.'/wp-content/uploads/aios/firewall-rules/';.

    I’m hoping explicitly setting it as a global (rather than the implicit as it is now) will resolve it. If not, I’ll implement something else.

    Then let me know what will happen on your end.

    Thread Starter taniav

    (@taniav)

    I have tried to change the code to $GLOBALS['aiowps_firewall_rules_path'] = __DIR__.'/wp-content/uploads/aios/firewall-rules/'; and saved it. But, when I opened the file again, the code automatically changed back to the previous code $aiowps_firewall_rules_path = __DIR__.'/wp-content/uploads/aios/firewall-rules/';

    Plugin Contributor Prashant Baldha

    (@pmbaldha)

    Please follow the below steps:

    • Download the development version of the AIOS plugin from https://drive.google.com/file/d/1vE93u9OrS_O2_WatIJoJcpBzomc8zu-s/view?usp=sharing and update it in your site.
    • Open your site’s file manager or FTP.
    • Open their aios-bootstrap.php file in the root folder.
    • Change the code line $aiowps_firewall_rules_path = __DIR__.'/wp-content/uploads/aios/firewall-rules/'; to $GLOBALS['aiowps_firewall_rules_path'] = __DIR__.'/wp-content/uploads/aios/firewall-rules/';.

    I’m hoping explicitly setting it as a global (rather than the implicit as it is now) will resolve it. If not, I’ll implement something else.

    Then let me know what will happen on your end.

    Thread Starter taniav

    (@taniav)

    I have implemented the code. I checked today there were no AIOS firewall error: unable to locate workspace. errors occurred during the usual time period. I’m not sure if it would be too early to say that the issue has been fixed or not, but I think I will keep my eyes on the error log for the next one or two days to be sure.

    Plugin Contributor Prashant Baldha

    (@pmbaldha)

    @taniav May I know are facing the log message recently?

    Thanks a lot.

    Thread Starter taniav

    (@taniav)

    @pmbaldha No more errors since I implemented the new code. I think I can say that the issue has gone. Thank you.

    Plugin Support damien7

    (@damien7)

    Thank you for your help with resolving this issue. We have released a new version with this fix inside. I will resolve this thread, but please do let us know if the issue reoccurs.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘AIOS firewall error: unable to locate workspace.’ is closed to new replies.