PHP error
-
We apologise for the inconvenience.
Is this log message logged continuously? Or is it logged once?
Can you please ensure that the
/wp-content/uploads/aios
folder has0755
permission?Let me know what will happen on your end.
Thank you very much.
It is logged about 8 or 10 times. (Not sure already deleted the log)
Yes the folder has 755 permission.Can you please tell me whether the path file
wp-content/uploads/aios/firewall-rules/settings.php
exists?- This reply was modified 2 years, 2 months ago by Prashant Baldha.
Yes its there
@seath May I know the content of the wp-content/uploads/aios/firewall-rules/settings.php?
Have you activated any other security plugin except the AIOS plugin??
Is there any server security mechanism or plugin that deletes this file periodically?
<?php __halt_compiler(); {"aiowps_6g_block_request_methods":["DEBUG","MOVE","PUT","TRACK"],"aiowps_6g_block_query":true,"aiowps_6g_block_request":true,"aiowps_6g_block_referrers":true,"aiowps_6g_block_agents":true}
No AIOS is security plugin I’ve been using for over 10 years.
Not that I am aware of. I don’t believe so. It would have to delete it every day, so no. And this error started with your new version.
You should not delete the file
wp-content/uploads/aios/firewall-rules/settings.php
yourself.The AIOS 5.x.x version comes with a new PHP-based firewall feature. This log message is from this new feature.
The new PHP-based firewall has created the new file
aios-bootstrap.php
in your root folder. Can you please give me the content of this file?Please copy site info by clicking on pressing on the “Copy site info to clipboard” in Admin Dashboard > Tools > Site Health > Info (tab) and paste it here for our reference.
We are happy to know that you are using the AIOS plugin for 10 years. We are really thankful for it and we are committed to giving new features and resolving bugs.
Can you please write me whether the log message is still logged?
I never deleted the file so…
<?php /** * @version 1.0.0 * WARNING: Please do not delete this file. * * This will cause PHP to throw a fatal error and render your site unusable. * * To safely delete this file, please check both your .user.ini file and your php.ini file and ensure this file is not set in the auto_prepend_file directive. * * Please ask your web hosting provider if you need guidance with executing the aforementioned steps. */ $aiowps_firewall_rules_path = __DIR__.'/wp-content/uploads/aios/firewall-rules/'; // Begin AIOWPSEC Firewall if (file_exists(__DIR__.'/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall.php')) { include_once(__DIR__.'/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall.php'); } // End AIOWPSEC Firewall
### wp-core ### version: 6.0.2 site_language: en_US user_language: en_US timezone: America/Chicago permalink: /%category%/%year%/%monthnum%/%day%/%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: open environment_type: production user_count: 3 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /home/theme/public_html wordpress_size: 195.36 MB (204853106 bytes) uploads_path: /home/theme/public_html/wp-content/uploads uploads_size: 1.39 GB (1497603960 bytes) themes_path: /home/theme/public_html/wp-content/themes themes_size: 1.82 MB (1907091 bytes) plugins_path: /home/theme/public_html/wp-content/plugins plugins_size: 82.82 MB (86842029 bytes) database_size: 103.22 MB (108229260 bytes) total_size: 1.77 GB (1899435446 bytes) ### wp-active-theme ### name: xxxxxxxx (xxxxxxxxx) version: 1.1.0 author: xxxxxx author_website: xxxxxx parent_theme: none theme_features: core-block-patterns, widgets-block-editor, title-tag, menus, widgets theme_path: /home/theme/public_html/wp-content/themes/holtzrealty auto_update: Disabled ### wp-themes-inactive (1) ### Twenty Twenty-Two: version: 1.2, author: the WordPress team, Auto-updates disabled ### wp-plugins-active (33) ### Accessibility Widget: version: 2.1, author: Lorna Timbah (webgrrrl), Auto-updates disabled ACF: Better Search: version: 4.0.1, author: Mateusz Gbiorczyk, Auto-updates disabled Advanced Custom Fields PRO: version: 5.12.3, author: Delicious Brains, Auto-updates disabled AIOWPS Country Blocking Addon: version: 3.0.6, author: Peter Petreski, WPSolutions-HQ, Site Scanners,, Auto-updates disabled All In One WP Security: version: 5.0.3, author: All In One WP Security & Firewall Team, Auto-updates disabled Art: version: 1.0.0, author: Art, Auto-updates disabled BackWPup: version: 3.10.0, author: Inpsyde GmbH, Auto-updates disabled Burst Statistics - Privacy-Friendly Analytics for WordPress: version: 1.2.0, author: Really Simple Plugins, Auto-updates disabled Classic Editor: version: 1.6.2, author: WordPress Contributors, Auto-updates disabled Classic Widgets: version: 0.3, author: WordPress Contributors, Auto-updates disabled Contact Form 7: version: 5.6.3, author: Takayuki Miyoshi, Auto-updates disabled Dashboard Widgets Suite: version: 3.1, author: Jeff Starr, Auto-updates disabled Error Log Monitor: version: 1.7.2, author: Janis Elsts, Auto-updates disabled Fast Velocity Minify: version: 2.8.9, author: Raul Peixoto (latest version: 3.2.9), Auto-updates disabled Flamingo: version: 2.3, author: Takayuki Miyoshi, Auto-updates disabled Juiz Social Post Sharer: version: 1.4.12, author: Geoffrey Crofte (latest version: 2.1.4), Auto-updates disabled List Custom Taxonomy Widget: version: 4.1, author: Nick Halsey, Auto-updates disabled Login as User: version: 1.4.4, author: Web357, Auto-updates disabled PublishPress Capabilities: version: 2.5.0, author: PublishPress, Auto-updates disabled Regenerate Thumbnails: version: 3.1.5, author: Alex Mills (Viper007Bond), Auto-updates disabled Smush: version: 3.11.1, author: WPMU DEV, Auto-updates disabled Two Factor Authentication: version: 1.14.5, author: David Anderson, original plugin by Oskar Hane and enhanced by Dee Nutbourne, Auto-updates disabled VA Simple Expires: version: 1.0.6, author: KUCKLU & VisuAlive, Auto-updates disabled WordPress Importer: version: 0.7, author: wordpressdotorg, Auto-updates disabled WP Armour - Honeypot Anti Spam: version: 2.0.1, author: Dnesscarkey, Auto-updates disabled WP Better Permalinks: version: 4.1.1, author: Mateusz Gbiorczyk, Auto-updates disabled WP Crontrol: version: 1.14.0, author: John Blackbourn & crontributors, Auto-updates disabled WP Mail SMTP: version: 3.5.2, author: WPForms, Auto-updates disabled WP Offload Media Lite: version: 2.6.2, author: Delicious Brains, Auto-updates disabled WP Rollback: version: 1.7.1, author: Impress.org, Auto-updates disabled WP Sitemap Page: version: 1.9.1, author: Tony Archambeau, Auto-updates disabled WP Statistics: version: 13.2.5, author: VeronaLabs, Auto-updates disabled XML Sitemaps: version: 4.1.1, author: Auctollo (latest version: 4.1.5), Auto-updates disabled ### wp-plugins-inactive (1) ### Post SMTP: version: 2.1.7, author: Post SMTP, Auto-updates disabled ### wp-media ### image_editor: WP_Image_Editor_GD imagick_module_version: Not available imagemagick_version: Not available imagick_version: Not available file_uploads: File uploads is turned off post_max_size: 8M upload_max_filesize: 8M max_effective_size: 8 MB max_file_uploads: 20 gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: unknown ### wp-server ### server_architecture: Linux 3.10.0-1160.62.1.el7.x86_64 x86_64 httpd_software: Apache php_version: 8.0.22 64bit php_sapi: fpm-fcgi max_input_variables: 1000 time_limit: 30 memory_limit: 256M max_input_time: 60 upload_max_filesize: 8M php_post_max_size: 8M curl_version: 7.84.0 OpenSSL/1.1.1q suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 5.7.39 client_version: mysqlnd 8.0.22 max_allowed_packet: 268435456 max_connections: 151 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/theme/public_html/wp-content WP_PLUGIN_DIR: /home/theme/public_html/wp-content/plugins WP_MEMORY_LIMIT: 128M WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: false COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined DB_CHARSET: utf8mb4 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable ### wp_mail_smtp ### version: 3.5.2 license_key_type: lite debug: No debug notices found.
The error happens only overnight and since I already deleted the log its not there but I am sure it will show up tomorrow morning again.
We have created a high-priority task to resolve the log message in our internal task management system. It doesn’t harm your site. We will work on the task. You will get the resolution of it in a future AIOS plugin release.
Hi
We have tried to finish a scenario related to this error in AIOS 5.0.5 version.
Are you still facing the issue?
Thanks
Yes. Unfortunately it didn’t fix it. The problem still remains.
- This reply was modified 2 years, 2 months ago by Seath.
We are debugging the issue deeply. As soon as we will fix it, we will update you.
@seath May I know if you set any scheduler jobs at midnight?
@pmbaldha The only thing I have scheduled is daily backup on my site and that’s at 3AM. And I use BackWPup if that helps. If some other pluging has its own thing I don’t know.
- The topic ‘PHP error’ is closed to new replies.