Fatal error Failed opening required wordfence waf.php  - ❌ PHP Fatal error:  Unknown: Failed opening required wordfence-waf.php

❌ PHP Fatal error: Unknown: Failed opening required wordfence-waf.php

After migrating a WordPress website ot another cPanel account, the website displayed 500 error, and the following was recorded inside the error_log file: [17-Aug-2022 12:46:18 Europe/Belgrade] PHP Fatal error: Unknown: Failed opening required ‘/home/XXXXX/XXXXX.com/wordfence-waf.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) in Unknown on line 0 WordFence adds rules to .htaccess file to include the wordfence-waf.php file by full path: php_value … Read full article →

Missing a temporary folder - Hot to fix error: Missing a temporary folder. ✔️

Hot to fix error: Missing a temporary folder. ✔️

Missing a temporary folder. WordPress error can be caused for multiple reasons: How to fix this error: 1. Enable required extensions Check if required extensions are enabled in Tools > Site Health: If they are not, enable them from cPanel > PHP Selector 2. Check wp-config.php for WP_TEMP_DIR Check if a custom path for file … Read full article →

PHP Fatal Error Uncaught Error Call to undefined function exec - WP-CLI Not Working: Call to undefined function exec()

WP-CLI Not Working: Call to undefined function exec()

For some operations such as database export, WP-CLI uses PHP exec() function which is disabled on most shared hosting servers. So if you do wp db export and no file was created, make sure to check your error_log file and if you notice this error: PHP Fatal Error: Uncaught Error: Call to undefined function exec() … Read full article →

cant edit plugins - Can’t Add or Install Plugins in WordPress

Can’t Add or Install Plugins in WordPress

Q: Why can’t I add plugins in WordPress? A: The following code was added to wp-config.php file that disables file editing and uploading. Simply remove these files from the wp-config.php file and then refresh the wp-admin page.

wpadmin issue - wp-admin works but not website 🤔

wp-admin works but not website 🤔

Is your wp-admin working, but the front-end is white page? This usually happens when a certain WordPress plugin is running up against the PHP Memory Limit. Check your error_log file for any error messages that confirm this: Edit the file /etc/php7/apache2/php.ini and increase the memory limit: Increase the limit and then restart Apache. I also suggest … Read full article →