• Resolved Core

    (@core)


    I got an email, one each for multiple sites actually, sayong AIO was turing off basic firewall.
    I go to log into the site, and cannot using the rename feature not via the normal /wp-admin/
    After various attempts, renaming the AIO folder, logging in, renaming, being locked out again, etc. I got logged in, put the folder back inactivated, and then uninstalled.

    Now I get the following (slightly edited to hide certain info)

    Fatal error: Uncaught Error: Call to a member function set_value() on null in /home/<user>/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-configure-settings.php:267 Stack trace: #0 /home/<user>/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-installer.php(38): AIOWPSecurity_Configure_Settings::add_option_values() #1 /home<user>/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/wp-security-core.php(269): AIOWPSecurity_Installer::run_installer(”) #2 /home/<user>/public_html/wp-includes/class-wp-hook.php(308): AIO_WP_Security::activate_handler(”) #3 /home/<user>/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #4 /home/<user>/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /home/<user>/public_html/wp-admin/plugins.php(194): do_action(‘activate_all-in…’) #6 {main} thrown in?/home/<user>/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-configure-settings.php?on line?267

    I give up, I have wasted hours on this today, and this is just one of 5 sites I need to fix. All with the same issue.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter Core

    (@core)

    the line, 267, is to do with Pingback, but this is a clean install, so no idea what is happening

    $aiowps_firewall_config->set_value(‘aiowps_enable_pingback_firewall’, false);//Checkbox – blocks all access to XMLRPC

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @core

    Sorry for inconvenience, I have created internal ticket for this. Some thing went wrong with firewall loading.

    Rename the plugins folder “all-in-one-wp-security-and-firewall” to “all-in-one-wp-security-and-firewall-deactivated” at location /wp-content/plugins/all-in-one-wp-security-and-firewall It will deactivate the plugin then login to the site

    Download AIOS 5.2.2 zip file and upload the latest code and then try activate should solve the issue as other users yesterday could solve it.

    Regards

    Plugin Support aporter

    (@aporter)

    Hi,

    We haven’t been able to reproduce this issue and we have only had one other report.

    Would you be able to provide some more information:

    1) how did you update the plugin (did you use a plugin, cli, the gui, etc..)

    2) if the firewall is setup or not

    3) php version and web server information

    Best Wishes,

    Ashley

    Thread Starter Core

    (@core)

    I have ‘auto-update’ setup. Apparently that was a huge mistake.
    As for the message I pasted in, that came after a clean install from Plugins while I was trying to troubleshoot and resolve the issue.

    Yes the firewall was setup. Same as it has been for years, only now I cannot get into any of the sites without jumping through a series of hoops.

    PHP is 8.1, Cent7, WHM
    None of that has changed for ages either

    I can see from the dozens of other reports here that I am not the only one with issues. So, I’m just going to uninstall this from all my sites, get them working again and find something else to use.
    You making changes because of a few idiots not knowing what they were doing has not cost a lot of us a lot of time. This is not acceptable.

    Thread Starter Core

    (@core)

    I did, just to be sure, try to do as you suggested and upload the zip file for install, but as soon as I activate the plugin I am locked out, again.

    Thread Starter Core

    (@core)

    *update*
    2 of the sites are working, I had not tested them yet, I was focused on the first one i hit. Theese tow worked as intended I got in, saw the notes at top and was able to re-enable things, and all works correctly.
    All the sites live on the same server, and all were configured exactly the same.
    So now I am even more confused. Why are two working and two not?

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @core

    Sorry for late reply.

    Do you have copied the files from one site to another site on same server?

    Can you please cross check that wp-config.php. , htaccess, .user.ini file in root of the WordPress installed directory of those sites which are not working have aios-bootstrap.php included path is correct.

    If you have copied above 3 files from another site, It might have reference to the old site path.

    Regards

    Plugin Support aporter

    (@aporter)

    Hi,

    Ignore the above message, I believe we have tracked down the issue a copy of the plugin with the fix is here:

    https://gofile.io/d/FMt8GE

    If the above copy does resolve the issue for you then for some reason on the two sites where it doesn’t work the “aios/firewall-rules” folders did not exist in your uploads directory and that causes the firewall to fail to load.

    In our test installs the folders do get created before the fatal error happens (so these may now exist for you).

    Best Wishes,

    Ashley

    Thread Starter Core

    (@core)

    @aporter
    I only just now had a chance to test this.
    I had previously deactivated and deleted the version I had.
    I dropped the SQL tables, deleted all folders, replaced the .htaccess file
    My site was up and working..
    I just uploaded and installed from the link you sent above. As soon as I activated I was kicked out

    Access to <website> was denied

    You don’t have authorization to view this page.

    HTTP ERROR 403

    All of my sites are on the same server, 2 with no issues, 2 with this same issue.
    So, it is not the server configuration.

    • This reply was modified 1 year, 7 months ago by Core.
    Thread Starter Core

    (@core)

    @hjogiupdraftplus — I never mentioned copying anything, I set them all up manually, with the same settings. At this point, i am done messing with it. I have put BulletProof Pro back on those sites. It is more hassle to configure but I have never had issues with it, but this is multiple times now the AIOS has caused me to spends days to trying to ‘fix’ it when it had been working fine until you ‘fixed’ it.

    Plugin Support aporter

    (@aporter)

    Hi,

    That message would indicate your being locked out by either the .htaccess file or PHP firewall.

    You could disable the PHP firewall by adding the following constant to your wp-config.php:

    define(‘AIOS_NO_FIREWALL’, true);

    Best Wishes,

    Ashley

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘5.2.2 breaking’ is closed to new replies.