1 發(fā)現(xiàn){{unknown}}、oembed_cache錯(cuò)誤
begin主題如何解決{{unknown}} oembed_cache?
有新媒體人剛學(xué)會(huì)WordPress建站,使用的是知更鳥begin主題。
在phpMyAdmin檢查MySQL數(shù)據(jù)庫時(shí),發(fā)現(xiàn)出現(xiàn)大量錯(cuò)誤……
post_content字段,找到大量錯(cuò)誤:{{unknown}}
▼
post_type字段,找到大量錯(cuò)誤:oembed_cache
▼
如何在phpMyAdmin數(shù)據(jù)庫里,找到“oembed_cache、{{unknown}}”錯(cuò)誤?
在MySQL數(shù)據(jù)庫中,搜索“oembed_cache” ▼
然后,在 wp_posts 數(shù)據(jù)表中,搜索“oembed_cache”,找到 691 個(gè)……
由此可見,知更鳥的begin主題,是非常臃腫的WordPress主題:
第 1 步:改用其它WordPress主題(非知更鳥開發(fā)的主題)。
第 2 步:進(jìn)入phpMyAdmin數(shù)據(jù)庫管理。
第 3 步:點(diǎn)擊網(wǎng)站的MySQL數(shù)據(jù)庫。
第 4 步:點(diǎn)擊 wp_posts 數(shù)據(jù)表
第 5 步:點(diǎn)擊“搜索”選項(xiàng)
第 6 步:點(diǎn)擊“查找和替換” ▼
第 7 步:后臺(tái)設(shè)置每頁的項(xiàng)目數(shù):100
設(shè)置每頁的項(xiàng)目數(shù),是根據(jù)你的網(wǎng)站PHP最大加載時(shí)間而定,詳情請(qǐng)參考此文 ▼
解決php提示Maximum execution time of 30 seconds exceeded錯(cuò)誤
很多網(wǎng)絡(luò)營銷新手在學(xué)習(xí)用WordPress建站時(shí),PHP頁面很長時(shí)間,處于空白狀態(tài)。然后出現(xiàn)以下錯(cuò)誤提示:Fatal error: Maximum execution time of 30 seconds exceeded in ……很簡單,這……
第 8 步:在所有文章里,搜索“{{unknown}}”
第 9 步:批量編輯文章
全勾選“(無標(biāo)題)”文章后,選擇“編輯”應(yīng)用 ▼
如果還有批量編輯的文章,點(diǎn)擊“下一頁”,繼續(xù)重復(fù)批量編輯,直到完成為止。
操作phpMyAdmin數(shù)據(jù)庫之前,請(qǐng)務(wù)必先做好MySQL數(shù)據(jù)庫備份,否則后果自負(fù)。
希望我們網(wǎng)站( https://www.wordpressx.com/ ) 分享的《如何解決WordPress主題{{unknown}} oembed_cache問題?》,對(duì)您有幫助。