• Resolved macbook71

    (@macbook71)


    Good morning, I downloaded the new version of the plugin and it gave me a critical error. I had a hard time accessing my dashboard. Here is the wordpress error message An error of type E_ERROR was caused in line 207 of file /home3/codi7584/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-utility-htaccess .php. Error message: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, bool given in /home3/codi7584/public_html/wp-content/plugins/all-in-one-wp- security-and-firewall/classes/wp-security-utility-htaccess.php:207 Please correct the new version

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter macbook71

    (@macbook71)

    Also, when I download the old version of the plugin, and want to activate it, it kicks me out of the dashboard

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @macbook71,

    Do you have apache server or any other server ?

    Error message: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array,?

    It is the issue seems regarding the .htaccess temporary file does not have any content written the same folder the root of WordPress installed.

    Can you please cross check the .htaccess_temp file created there ? if not might be a file write issue.

    If you have debug log enabled do it show any error ? For AIOS the WP security > Settings > General settings there is debug log enabling option it if is enabled it might have logged debug information you may cross check WP security > Dashboard> Debug log tab.

    https://developer.www.ads-software.com/advanced-administration/debug/debug-wordpress/

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );

    If you activate older version and asked you to login again. It might be WP security > User security > Salt postfix enabled. so you have to login once again.

    Do you have cookie based brute force enabled ? If not accessed admin panel with secret word it can be also issue.

    Regards

    Thread Starter macbook71

    (@macbook71)

    Thank you for your response. I downloaded the old version but I cannot activate it because it immediately ejects me from the dashboard and tells me that I do not have rights.

    I am on an Apache server and here is the htaccess file: # BEGIN All In One WP Security #AIOWPS_BASIC_HTACCESS_RULES_START <Files.htaccess> <IfModule mod_authz_core.c> Require all denied </IfModule> <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> </Files> ServerSignature Off LimitRequestBody 104857600 <wp-config.php files> <IfModule mod_authz_core.c> Require all denied </IfModule> <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> </Files> #AIOWPS_BASIC_HTACCESS_RULES_END #AIOWPS_DEBUG_LOG_BLOCK_HTACCESS_RULES_START <Files debug.log> <IfModule mod_authz_core.c> Require all denied </IfModule> <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> </Files> #AIOWPS_DEBUG_LOG_BLOCK_HTACCESS_RULES_END #AIOWPS_DISABLE_INDEX_VIEWS_START Options -Indexes #AIOWPS_DISABLE_INDEX_VIEWS_END #AIOWPS_DISABLE_TRACE_TRACK_START <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule.* – [F] </IfModule> #AIOWPS_DISABLE_TRACE_TRACK_END #END All In One WP Security

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @macbook71,

    Ok, I can see the Firewall .htaccess rules are enabled and related htaccess code file is there. Do your site loads fine ? I can not see WordPress related rule here so hope it is there.

    Also do this issue is for AIOS 5.3.4 are you trying to update from AIOS 5.3.3 or have older version of AIOS ?

    Here if we check update from AIOS 5.3.3 -> AIOS 5.3.4 it does not have this issue.

    I am going to create an internal ticket for some how can replicate this issue.

    Can you please go to wp-content/aiowps_backups and download the recent .htaccess files. ( of today before you have done first update make sure it does have the AIOS rules and WP default htaccess rules are there.

    Please do remove all code between this files in .htaccess.

    # BEGIN All In One WP Security

    # END All In One WP Security

    And try update to AIOS 5.3.4 by uploading the files in wp-content\plugins\all-in-one-wp-security-and-firewall

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.