مشکل " ویرایشگر با یک خطای نابه‌هنگام مواجه شد"

سلام مدتیه که وقتی روی افزودن نوشته کلیک میکنم به یه ارور میخورم .

البته بعد از زدن گزینه تلاش برای بازیابی وارد میشه. اما مشکلی که هست نمیتونم روی مطالب لینک بزارم و وقتی میزنم روی لینک ارور پایین میاد.

خطایی هم که میده به صورت زیر هست.>

> 
> ReferenceError: YoastSEO is not defined
>     at u (https://adnatattoo.ir/wp-content/plugins/wordpress-seo-premium/js/dist/wp-seo-post-scraper-1201.min.js?ver=12.0.1:1:53990)
>     at e.exports (https://adnatattoo.ir/wp-content/plugins/wordpress-seo-premium/js/dist/wp-seo-post-scraper-1201.min.js?ver=12.0.1:1:54382)
>     at t.value (https://adnatattoo.ir/wp-content/plugins/wordpress-seo-premium/js/dist/wp-seo-post-scraper-1201.min.js?ver=12.0.1:5:40034)
>     at Fd (https://adnatattoo.ir/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:92:367)
>     at Mf (https://adnatattoo.ir/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:92:160)
>     at ph (https://adnatattoo.ir/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:98:474)
>     at eg (https://adnatattoo.ir/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:125:307)
>     at fg (https://adnatattoo.ir/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:126:168)
>     at wc (https://adnatattoo.ir/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:138:237)
>     at fa (https://adnatattoo.ir/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:137:115)

من ویرایشگر کلاسیک نصب کردم مشکل حل شد اما خب کار کردن باهاش به خوبی پیش فرض نیست . گوتنبرگ هم نصب کردم فایده ای نداشت . افزونه Yoast هم غیر فعال کردم ارور اول از بین میره اما همچنان لینک نمیشه گزاشت.
ادرسی که در ارور بالا از پوشه پلاگین میده کلا وقتی از فایل منیجر سی پنل میرم وجود نداره. فایل js خود ورد پرس هم نمونه جایگزین نمیدونم باید چی بزارم تا تست بشه . ورژن ورد پرس هم بروزه ورژن افزونه سئو هم 12.0.1
ممنون میشم کمک کنید.

این خطا می تونه دلایل خیلی زیادی داشته باشه. رایج ترین دلایل می تونه موارد زیر باشه:

  • نسخه بروز نشده افزونه
  • تداخل بین افزونه های دیگه
  • کمبود میزان RAM

برای پیدا کردن مشکل می تونید Debug Mode رو تو وردپرس فعال کنید.
فایل wp-config.php رو ویرایش کنید و مقدار زیر رو در اون ذخیره کنید:

define( 'WP_DEBUG', true );

سپس وارد همون صفحه ای که این خطا رو دریافت می کنید بشید و در بالای صفحه خطا های موجود رو بررسی و رفع کنید.

قبل از هر چیز:
۱- اول از همه از همه اطلاعات سایت بک آپ تهیه کنید
۲- قبل از هر کاری که در بالا نوشته شده، ابتدا تمام افزونه ها رو غیر فعال کنید و بعد دونه دونه فعال کنید تا اگر تداخلی وجود داره اون رو ردیابی کنید.
۳- اگر از مرورگر کروم استفاده می کنید، از امکان Developer Tools گزینه Inspect رو بزنید و خطاها رو بررسی کنید.

2 پسندیده

ممنون از شما .
این کار رو انجام دادم قبلا.
افزونه ها غیر فعال کردم اما همچنان مشکل هست.
حتی پوشه wp-admin و wp-includes رو هم جایگزین کردم .
اروری که در Inspect میگیرم به شرح زیره.

JQMIGRATE: Migrate is installed, version 1.4.1
post.php?post=1786&action=edit:650 GET https://djtflbt20bdde.cloudfront.net/ net::ERR_BLOCKED_BY_CLIENT
(anonymous) @ post.php?post=1786&action=edit:650
(anonymous) @ post.php?post=1786&action=edit:650
(anonymous) @ post.php?post=1786&action=edit:667
react-dom.min.js?ver=16.8.4:104 TypeError: Cannot read property 'baseUrl' of undefined
    at Function.b [as mapToProps] (wp-seo-post-scraper-1201.min.js?ver=12.0.1:5)
    at r (wp-seo-post-scraper-1201.min.js?ver=12.0.1:1)
    at Function.r.mapToProps (wp-seo-post-scraper-1201.min.js?ver=12.0.1:1)
    at r (wp-seo-post-scraper-1201.min.js?ver=12.0.1:1)
    at wp-seo-post-scraper-1201.min.js?ver=12.0.1:1
    at wp-seo-post-scraper-1201.min.js?ver=12.0.1:1
    at Object.run (wp-seo-post-scraper-1201.min.js?ver=12.0.1:1)
    at a.initSelector (wp-seo-post-scraper-1201.min.js?ver=12.0.1:1)
    at new a (wp-seo-post-scraper-1201.min.js?ver=12.0.1:1)
    at zf (react-dom.min.js?ver=16.8.4:69)
Pf @ react-dom.min.js?ver=16.8.4:104
Xf.f.componentDidCatch.c.callback @ react-dom.min.js?ver=16.8.4:113
uf @ react-dom.min.js?ver=16.8.4:65
tf @ react-dom.min.js?ver=16.8.4:65
zc @ react-dom.min.js?ver=16.8.4:146
wc @ react-dom.min.js?ver=16.8.4:138
fa @ react-dom.min.js?ver=16.8.4:137
gg @ react-dom.min.js?ver=16.8.4:135
Ca @ react-dom.min.js?ver=16.8.4:133
enqueueSetState @ react-dom.min.js?ver=16.8.4:191
t.setState @ react.min.js?ver=16.8.4:20
value @ plugins.min.js?ver=2.2.0:1
(anonymous) @ hooks.min.js?ver=2.2.0:1
h @ plugins.min.js?ver=2.2.0:1
value @ wp-seo-post-scraper-1201.min.js?ver=12.0.1:5
value @ wp-seo-post-scraper-1201.min.js?ver=12.0.1:5
e @ wp-seo-post-scraper-1201.min.js?ver=12.0.1:5
(anonymous) @ wp-seo-post-scraper-1201.min.js?ver=12.0.1:5
e @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
t @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
setTimeout (async)
(anonymous) @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
fire @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
ready @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
B @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
react-dom.min.js?ver=16.8.4:104 ReferenceError: YoastSEO is not defined
    at u (wp-seo-post-scraper-1201.min.js?ver=12.0.1:1)
    at e.exports (wp-seo-post-scraper-1201.min.js?ver=12.0.1:1)
    at t.value (wp-seo-post-scraper-1201.min.js?ver=12.0.1:5)
    at Fd (react-dom.min.js?ver=16.8.4:92)
    at Mf (react-dom.min.js?ver=16.8.4:92)
    at ph (react-dom.min.js?ver=16.8.4:98)
    at eg (react-dom.min.js?ver=16.8.4:125)
    at fg (react-dom.min.js?ver=16.8.4:126)
    at wc (react-dom.min.js?ver=16.8.4:138)
    at fa (react-dom.min.js?ver=16.8.4:137)
Pf @ react-dom.min.js?ver=16.8.4:104
Xf.f.componentDidCatch.c.callback @ react-dom.min.js?ver=16.8.4:113
uf @ react-dom.min.js?ver=16.8.4:65
tf @ react-dom.min.js?ver=16.8.4:65
zc @ react-dom.min.js?ver=16.8.4:146
wc @ react-dom.min.js?ver=16.8.4:138
fa @ react-dom.min.js?ver=16.8.4:137
gg @ react-dom.min.js?ver=16.8.4:135
Ca @ react-dom.min.js?ver=16.8.4:133
enqueueSetState @ react-dom.min.js?ver=16.8.4:191
t.setState @ react.min.js?ver=16.8.4:20
value @ plugins.min.js?ver=2.2.0:1
(anonymous) @ hooks.min.js?ver=2.2.0:1
h @ plugins.min.js?ver=2.2.0:1
value @ wp-seo-post-scraper-1201.min.js?ver=12.0.1:5
value @ wp-seo-post-scraper-1201.min.js?ver=12.0.1:5
e @ wp-seo-post-scraper-1201.min.js?ver=12.0.1:5
(anonymous) @ wp-seo-post-scraper-1201.min.js?ver=12.0.1:5
e @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
t @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
setTimeout (async)
(anonymous) @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
fire @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
ready @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
B @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
react-dom.min.js?ver=16.8.4:104 ReferenceError: YoastSEO is not defined
    at u (wp-seo-post-scraper-1201.min.js?ver=12.0.1:1)
    at e.exports (wp-seo-post-scraper-1201.min.js?ver=12.0.1:1)
    at t.value (wp-seo-post-scraper-1201.min.js?ver=12.0.1:5)
    at Fd (react-dom.min.js?ver=16.8.4:92)
    at Mf (react-dom.min.js?ver=16.8.4:92)
    at ph (react-dom.min.js?ver=16.8.4:98)
    at eg (react-dom.min.js?ver=16.8.4:125)
    at fg (react-dom.min.js?ver=16.8.4:126)
    at wc (react-dom.min.js?ver=16.8.4:138)
    at fa (react-dom.min.js?ver=16.8.4:137)
Pf @ react-dom.min.js?ver=16.8.4:104
Xf.f.componentDidCatch.c.callback @ react-dom.min.js?ver=16.8.4:113
uf @ react-dom.min.js?ver=16.8.4:65
tf @ react-dom.min.js?ver=16.8.4:65
zc @ react-dom.min.js?ver=16.8.4:146
wc @ react-dom.min.js?ver=16.8.4:138
fa @ react-dom.min.js?ver=16.8.4:137
gg @ react-dom.min.js?ver=16.8.4:135
Ca @ react-dom.min.js?ver=16.8.4:133
enqueueSetState @ react-dom.min.js?ver=16.8.4:191
t.setState @ react.min.js?ver=16.8.4:20
value @ plugins.min.js?ver=2.2.0:1
(anonymous) @ hooks.min.js?ver=2.2.0:1
h @ plugins.min.js?ver=2.2.0:1
value @ wp-seo-post-scraper-1201.min.js?ver=12.0.1:5
value @ wp-seo-post-scraper-1201.min.js?ver=12.0.1:5
e @ wp-seo-post-scraper-1201.min.js?ver=12.0.1:5
(anonymous) @ wp-seo-post-scraper-1201.min.js?ver=12.0.1:5
e @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
t @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
setTimeout (async)
(anonymous) @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
fire @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
ready @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
B @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.2.3:2
react-dom.min.js?ver=16.8.4:104 Invariant Violation: Minified React error #307; visit https://reactjs.org/docs/error-decoder.html?invariant=307 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 
    at N (https://adnatattoo.ir/wp-includes/js/dist/vendor/react.min.js?ver=16.8.4:9:408)
    at q (https://adnatattoo.ir/wp-includes/js/dist/vendor/react.min.js?ver=16.8.4:10:176)
    at m (https://adnatattoo.ir/wp-includes/js/dist/vendor/react.min.js?ver=16.8.4:17:158)
    at useMemo (https://adnatattoo.ir/wp-includes/js/dist/vendor/react.min.js?ver=16.8.4:31:249)
    at I (https://adnatattoo.ir/wp-includes/js/dist/format-library.min.js?ver=1.4.6:12:9043)
    at ph (https://adnatattoo.ir/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:97:88)
    at eg (https://adnatattoo.ir/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:125:307)
    at fg (https://adnatattoo.ir/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:126:168)
    at wc (https://adnatattoo.ir/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:138:237)
    at fa (https://adnatattoo.ir/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:137:115)

مشخصات ورود به مدیریت وردپرس رو به صورت خصوصی برام ارسال کنید تا از نزدیک یه نگاه بندازم.

3 پسندیده

منم همین مشکلو داشتم. پلاگین WP-Statistics رو غیرفعال کردم و درست شد

3 پسندیده