Since wordpress 3.5, WordPress has modified the wpdb::prepare () method, and the second parameter of wpdb::prepare () must be filled in! If it doesn’t pass, it will report an error: Warning: Missing argument 2 for wpdb::prepare(), called in xxx.php on…
Tag: error”
Webmasters who have played WordPress should be familiar with the phrase “Error establishing a database connection”. When you see this sentence, the website may have been hung up for several hours-because WordPress will not automatically email you this error. Fortunately,…
Recently, I made various optimizations for website SEO, including website map. When I checked sitemap.xml, I found that php reported an error. The warning prompt “warning: use of undefined constant GMT–assured’ GMT’ (this will throw an error in a future…
Solution: View character set encoding MySQL> show variables like ‘character%’; Modify the character set encoding as follows mysql> set character_set_database=utf8; Note that it may be an error to write Chinese after modification. 1 > restart mysql 2 > Delete the…
The main reasons and solutions of “serious errors in your website” The key to understanding the serious errors in WordPress is to understand how WordPress uses the functions provided by its core files and combines them with the functions provided…
What is the “DNS server is not responding” error in WordPress? The “DNS server is not responding” error is one of the most common WordPress errors that users may encounter. This error will prevent you from accessing your own website,…
Internal server error or “500 internal server error” is one of the most frustrating errors that any WordPress developer will encounter. Do you know why? Because “500 Internal Server Error” basically means there is something wrong with the website, but…