Uncaught ReferenceError:switchEditors is not defined

it might me entirely different solution that i am providing but it solved the problem for me. I followed these steps: Open the user that is getting error. (WordPress admin menu > users > your profile) Changed the setting of “Disable the visual editor when writing” and saved the settings Again disabled this feature and … Read more

Notice: Constant WP_POST_REVISIONS already defined

I have the same problem before. I put WP_POST_REVISIONS in the end of wp-config.php file and it didn’t work correctly. You should put your codes before defining ABSPATH and before this line: /* That’s all, stop editing! Happy blogging. */ it must be something like in the following: define( ‘WP_POST_REVISIONS’, 6 ); /* That’s all, … Read more

Notice: Use of undefined constant SCRIPT_DEBUG

This is a known bug As far as I’m concerned, you can easily fix it by replacing if ( SCRIPT_DEBUG ) { with if ( defined(‘SCRIPT_DEBUG’) && SCRIPT_DEBUG ) { That should suppress the error for now. When WordPress is updated again, this error may be overwritten, but I believe it will be fixed in … Read more

How to fix “There has been a critical error on your website. Please check your site admin email inbox for instructions”?

You should troubleshoot your website for plugins and WordPress Themes. Make sure your PHP version is 7.3 or above. As you are unable to access your WordPress admin area so please try to access your file manager in cPanel or access public_html directory via FTP. Plugins and Themes directories are inside wp-content/ directories. Go to … Read more

Getting the warning: Missing argument 2 for manage_posts_custom_column()?

Change line 93 from add_filter(‘manage_posts_custom_column’, ‘manage_posts_custom_column’); to add_filter(‘manage_posts_custom_column’, ‘manage_posts_custom_column’, 10, 2); The fourth argument specifies how many arguments the function manage_posts_custom_column accepts (one by default). Codex: add_filter()

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)