Follow the steps to change/activate WordPress theme from within the database. 1. Log into phpMyAdmin. 2. Click on the wordpress database. 3. Go to the wp_options table. 4. Under the option_name column, locate the template entry. 5. Click Edit next to the template entry. 6. In the option_value column, change the value to the name … Continue reading change wordpress theme from the database using phpMyadmin
Category: wordpress
enable custom ssl request log in apache
To enable custom ssl log in apache follow below steps: 1. Add the below configuration files in post_virtualhost_global.conf for logging all SSL entries for virtual hosts that a user owns. WHM »Service Configuration »Apache Configuration »Include Editor Post »VirtualHost Include Include /etc/apache2/conf.d/userdata/ssl/2_4/bunnytech/ssllog.conf Include /etc/apache2/conf.d/userdata/ssl/2_4/bunnytech/ssllog.conf 2. Add the below configuration in ssllog.conf file for Custom … Continue reading enable custom ssl request log in apache
Database getting wiped out and loading sample default page in wordpress
Cause : ThemeGrill Demo Importer < 1.6.3 - Auth Bypass & Database Wipe A critical bug was reported with ThemeGrill Demo Importer plugin. This allows the affected plugin to execute some functions with administrative privileges on the WordPress website. The prerequisite is that there must be a theme installed and activated that was published by … Continue reading Database getting wiped out and loading sample default page in wordpress
Unable to add plugins from wordpress admin dashboard
After login to wordpress dashboard and tried to add new plugins It shows An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. While checking the logs the following error was getting generated [Fri Jan 03 08:16:46.573487 2020] [ssl:error] [pid … Continue reading Unable to add plugins from wordpress admin dashboard
To change wordpress theme via backend using database commands
To change the current theme to twentyfourteen default theme >> mysql >> use database_name; To see current theme >> select * from wp_options where option_name = 'template' or option_name = 'stylesheet' or option_name = 'current_theme'; >> update wp_options set option_value = 'twentyfourteen' where option_name = 'template'; >> update wp_options set option_value = 'twentyfourteen' where option_name … Continue reading To change wordpress theme via backend using database commands
PHP Fatal error: Access to undeclared static property: WP_Screen::$this
The following error was getting generated in the error log of wp-admin and the wp-admin was loading a white screen. PHP Fatal error: Access to undeclared static property: WP_Screen::$this in /home/bunny/public_html/wp-admin/includes/screen.php on line 706 Fix Open file blog/wp-admin/includes/screen.php in a text editor. On line 706 find the following PHP statement: _help_sidebar; ?> Replace it with … Continue reading PHP Fatal error: Access to undeclared static property: WP_Screen::$this
PHP Fatal error: Call to undefined function apply_filters() in /home/bunny/public_html/wp-includes/load.php on line 317
Fix The issue was that one of the core file wp-settings.php was corrupted. You can either copy the file from backup or upload the file from source.
Update Failed: Could not create directory. During plugin update.
The issue was caused due to the disk quota of the account was full. This seems to cause also the failure of the modsecurity rules being processing on the plugin while updating the plugin and the error getting generated in the apache logs. I have temporarily increased the quota to fix the issue.
Changing wordpress Dashboard login credentials via mysql commandline
You can change wordpress Dashboard login credentials via mysql commandline: Consider following details: Database name : test_data wp_ : As database perfix wp_users : WordPress user table User Id: 1 1. mysql >> to enter in to mysql command line; 2. use test_data; >> to use our database; 3. show tables; >> Show all tables … Continue reading Changing wordpress Dashboard login credentials via mysql commandline
Tried to update wordpress/plugins I got a wordpress window requesting FTP credentials instead
Fix suexec was not enabled in the server.