{"id":2277,"date":"2019-06-28T11:14:44","date_gmt":"2019-06-28T03:14:44","guid":{"rendered":"https:\/\/blog.naibabiji.com\/?p=2277"},"modified":"2019-11-01T13:17:14","modified_gmt":"2019-11-01T05:17:14","slug":"siteorigin-page-builder-fatal-error","status":"publish","type":"post","link":"https:\/\/blog.naibabiji.com\/skill\/siteorigin-page-builder-fatal-error.html","title":{"rendered":"\u5b89\u88c5SiteOrigin Page Builder\u540e\u7f51\u7ad9\u62a5Fatal error\u9519\u8bef\u600e\u4e48\u529e"},"content":{"rendered":"<p>\u4eca\u5929\u4e00\u7f51\u53cb\u7ed9\u5976\u7238\u8bf4\u4ed6\u7684WordPress\u7f51\u7ad9\u6253\u4e0d\u5f00\u4e86\uff0c\u8ba9\u5e2e\u5fd9\u770b\u4e0b\u3002<\/p>\n<p>\u6253\u5f00\u4ed6\u7f51\u7ad9\u63d0\u793a\u201c<strong>Fatal error<\/strong>: Call to undefined function wp_doing_ajax() in \/home\/vgr8rn8v8\/wwwroot\/wp-content\/plugins\/siteorigin-panels\/siteorigin-panels.php on line 45\u201d<\/p>\n<h2>\u95ee\u9898\u539f\u56e0<\/h2>\n<p>\u4ece\u9519\u8bef\u539f\u56e0\u770b\uff0c\u95ee\u9898\u51fa\u5728wp_doing_ajax() \u8fd9\u4e2a\u51fd\u6570\u6587\u4ef6\u4e0a\u3002<\/p>\n<p>\u800cwp_doing_ajax() \u8fd9\u4e2a\u51fd\u6570\u662fWordPress 4.7\u4ee5\u540e\u65b0\u589e\u7684\u4e00\u4e2a\u51fd\u6570\uff0c\u800c\u6b63\u597d\u8fd9\u4e2a\u7f51\u53cb\u4f7f\u7528\u7684\u662f\u8001\u7248\u672cWordPress\u3002<\/p>\n<p>\u76f8\u5173\u8d44\u6599\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u6587\u6863\uff1a<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_doing_ajax\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/developer.wordpress.org\/reference\/functions\/wp_doing_ajax\/<\/a><\/p>\n<p>wp_doing_ajax()<\/p>\n<p>\u7528\u6765\u5224\u5b9a\u5f53\u524d\u8bf7\u6c42\u662f\u5426\u662f Ajax\u8bf7\u6c42\uff0c\u5982\u679c\u662fWordPress Ajax\u8bf7\u6c42\uff0c\u5219\u4e3atrue\uff0c\u5426\u5219\u4e3afalse\u3002<\/p>\n<pre>function wp_doing_ajax() {\r\n    \/**\r\n     * Filters whether the current request is a WordPress Ajax request.\r\n     *\r\n     * @since 4.7.0\r\n     *\r\n     * @param bool $wp_doing_ajax Whether the current request is a WordPress Ajax request.\r\n     *\/\r\n    return apply_filters( 'wp_doing_ajax', defined( 'DOING_AJAX' ) &amp;&amp; DOING_AJAX );\r\n}<\/pre>\n<h2>\u89e3\u51b3\u65b9\u6cd5<\/h2>\n<p>\u4ece\u9519\u8bef\u63d0\u793a\u5c31\u5f88\u660e\u663e\u53ef\u4ee5\u770b\u51fa\uff0c\u95ee\u9898\u51fa\u5728siteorigin-panels\/siteorigin-panels.php\u768445\u884c\u3002\u95ee\u9898\u5c31\u662f\u63d2\u4ef6\u7684\u517c\u5bb9\u95ee\u9898\u4e86\u3002<\/p>\n<p>\u60f3\u8981\u89e3\u51b3\u6389\u95ee\u9898\u5f88\u7b80\u5355\uff0c\u4f7f\u7528FTP\u5de5\u5177\uff0c\u5230\u7f51\u7ad9\u670d\u52a1\u5668\u4e0a\u628asiteorigin-panels\u8fd9\u4e2a\u6587\u4ef6\u5939\u5220\u9664\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>\u5982\u679c\u4f60\u8fd8\u60f3\u4f7f\u7528\u8fd9\u4e2a\u63d2\u4ef6\uff0c\u90a3\u4e48\u4f60\u9700\u8981\u5148\u5347\u7ea7WordPress\u5230\u65b0\u7248\u672c\uff0c\u7136\u540e\u518d\u6b21\u5b89\u88c5\u3002\u5982\u679c\u65e0\u6cd5\u5347\u7ea7\uff0c\u4f60\u9700\u8981\u5148\u68c0\u67e5\u4e0b\u81ea\u5df1\u670d\u52a1\u5668\u73af\u5883\u662f\u5426\u6ee1\u8db3\u65b0\u7248\u7248\u672cWordPress\u7684\u786c\u4ef6\u8981\u6c42\u3002<a href=\"https:\/\/blog.naibabiji.com\/tutorial\/wordpress-pei-zhi-yao-qiu.html\">WordPress\u914d\u7f6e\u9700\u6c42 \u5b89\u88c5WordPress\u9700\u8981\u6ee1\u8db3\u7684\u786c\u4ef6\u6761\u4ef6<\/a><\/p>\n<h2>\u5176\u4ed6\u60c5\u51b5<\/h2>\n<p>\u6709\u4e9b\u65f6\u5019\u51fa\u73b0\u7f51\u7ad9\u6253\u4e0d\u5f00\u7684\u60c5\u51b5\u53ef\u80fd\u5e76\u4e0d\u662f\u56e0\u4e3a\u63d2\u4ef6\u7684\u95ee\u9898\uff0c\u5976\u7238\u4e4b\u524d\u5206\u4eab\u8fc7WordPress\u7f51\u7ad9503\u9519\u8bef\u7ec8\u6781\u6545\u969c\u6392\u9664\u6307\u5357\uff0c\u611f\u5174\u8da3\u7684\u53ef\u4ee5\u9605\u8bfb\u4e00\u4e0b\u3002<\/p>\n<p class=\"entry-title\"><a href=\"https:\/\/blog.naibabiji.com\/skill\/wordpress-503-cuo-wu.html\">WordPress\u7f51\u7ad9503\u9519\u8bef\u7ec8\u6781\u6545\u969c\u6392\u9664\u6307\u5357<\/a><\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;2277&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;4&quot;,&quot;greet&quot;:&quot;\u7ed9\u672c\u6587\u6253\u5206 post&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u5b89\u88c5SiteOrigin Page Builder\u540e\u7f51\u7ad9\u62a5Fatal error\u9519\u8bef\u600e\u4e48\u529e&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\">\u7ed9\u672c\u6587\u6253\u5206 post<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5929\u4e00\u7f51\u53cb\u7ed9\u5976\u7238\u8bf4\u4ed6\u7684WordPress\u7f51\u7ad9\u6253\u4e0d\u5f00\u4e86\uff0c\u8ba9\u5e2e\u5fd9\u770b\u4e0b\u3002 \u6253\u5f00\u4ed6\u7f51\u7ad9\u63d0\u793a\u201cFatal error:  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2278,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"\u5b89\u88c5SiteOrigin Page Builder\u540e\u7f51\u7ad9\u62a5Fatal error\u9519\u8bef\u600e\u4e48\u529e - \u5976\u7238\u5efa\u7ad9\u7b14\u8bb0","description":"\u4eca\u5929\u4e00\u7f51\u53cb\u7ed9\u5976\u7238\u8bf4\u4ed6\u7684WordPress\u7f51\u7ad9\u6253\u4e0d\u5f00\u4e86\uff0c\u8ba9\u5e2e\u5fd9\u770b\u4e0b\u3002 \u6253\u5f00\u4ed6\u7f51\u7ad9\u63d0\u793a\u201c Fatal error : Call to undefined function wp_doing_ajax() in \/home\/vgr8rn8v8\/wwwroot\/wp-content\/plugins\/siteorigin-pan"},"footnotes":""},"categories":[142],"tags":[],"class_list":["post-2277","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-skill"],"_links":{"self":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/2277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/comments?post=2277"}],"version-history":[{"count":0,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/2277\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media\/2278"}],"wp:attachment":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media?parent=2277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/categories?post=2277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/tags?post=2277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}