我想为我们的客户之一设置一个Wordpress页面,但由于某些原因,我一直收到此错误(请参阅标题)Wordpress tinyMCE错误“SyntaxError:expected expression,got'<'tinymce.min.js:1”
我尝试在其他服务器上安装原始Wordpress。总是相同的结果
完全控制台日志:
Resource interpreted as Script but transferred with MIME type text/html: "/wp-includes/js/tinymce/tinymce.min.js?ver=4107-20150118". post.php?post=2&action=edit:1875 Resource interpreted as Script but transferred with MIME type text/html: "/wp-includes/js/tinymce/plugins/compat3x/plugin.min.js?ver=4107-20150118". 7post.php?post=2&action=edit:1 Consider using 'dppx' units, as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: print, not all, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) post.php?post=2&action=edit:243 Consider using 'dppx' units, as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: print, not all, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) tinymce.min.js?ver=4107-20150118:1 Uncaught SyntaxError: Unexpected token < plugin.min.js?ver=4107-20150118:1 Uncaught ReferenceError: tinymce is not defined post.php?post=2&action=edit:1877 Uncaught ReferenceError: tinymce is not defined 3load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery…:896 Uncaught ReferenceError: tinymce is not defined
我以前从来没见过这种情况发生在任何版本的WordPress。