حل مشكلة MYSQL Error 1146 عند عمل WordPress Staging من سوفتاكلوس

مقدمة

يُعد إنشاء موقع اختباري (Staging) خطوة هامة قبل تطبيق أي تغييرات جوهرية على موقع ووردبريس الفعلي. يساعدك هذا على تجربة الميزات والإضافات الجديدة وتفادي أي أخطاء غير متوقعة قد تؤثر على موقعك الرئيسي. ومع ذلك، قد يواجه بعض المستخدمين خطأ MySQL Error 1146 عند محاولة إنشاء موقع اختباري باستخدام سوفتاكلوس. في هذا المقال، سنستعرض أسباب هذا الخطأ وكيفية حله بسهولة.

 

أسباب الخطأ MySQL Error 1146

يرتبط هذا الخطأ غالبًا بإعدادات تعدد المواقع (Multisite) في ووردبريس. يحدث عندما يحاول سوفتاكلوس استنساخ قاعدة بيانات موقعك الرئيسي الذي لا يدعم تعدد المواقع، ولكنه يحتوي على إعدادات خاصة بهذه الميزة. هذا التعارض يؤدي إلى ظهور الخطأ المذكور.

مثال على كود الخطأ المحتمل ظهوره عند عمل ستيجنق:

				
					  The following errors were found :

Could not make the query numbered : 0
MySQL Error No : 1146
MySQL Error : Table 'rco_wp745.wp_blogs' doesn't exist
Could not make the query numbered : 0
MySQL Error No : 1146
MySQL Error : Table 'rco_wp745.wp_blogs' doesn't exist
Could not make the query numbered : 0
MySQL Error No : 1146
MySQL Error : Table 'rco_wp745.wp_site' doesn't exist
Could not make the query numbered : 0
MySQL Error No : 1146
MySQL Error : Table 'rco_wp745.wp_blogs' doesn't exist
				
			

حل المشكلة

لحسن الحظ، حل هذه المشكلة بسيط ويتمثل في تعديل سطر واحد في ملف wp-config.php:

 

  1. الدخول إلى مدير الملفات ثم قم بالدخول إلى لوحة تحكم الاستضافة الخاصة بك، ثم افتح مدير الملفات (File Manager).
  2. تحديد ملف wp-config.php – انتقل إلى المجلد الجذر لموقع ووردبريس الخاص بك، وابحث عن ملف wp-config.php.
  3. تعديل السطر – افتح الملف وقم بتغيير السطر التالي:
				
					define( 'WP_ALLOW_MULTISITE', true );
				
			

إلى

				
					define( 'WP_ALLOW_MULTISITE', false );
				
			
  1. حفظ التغييرات: احفظ التغييرات التي أجريتها على الملف.
  2. إعادة محاولة إنشاء الموقع الاختباري: حاول الآن إنشاء موقع اختباري جديد باستخدام سوفتاكلوس. يجب أن تتم العملية بنجاح دون ظهور الخطأ.

نقاط إضافية

    • التحقق من الإعدادات: قبل إنشاء موقع اختباري، تأكد من أن إعدادات تعدد المواقع في موقعك الرئيسي معطلة إذا كنت لا تستخدمها.

    • النسخ الاحتياطي: من الأفضل دائمًا إنشاء نسخة احتياطية من موقعك وقاعدة البيانات قبل إجراء أي تغييرات.

  •  

الخلاصة

خطأ MySQL Error 1146 مشكلة شائعة عند إنشاء مواقع اختبارية لووردبريس باستخدام سوفتاكلوس، ولكن يمكن حله بسهولة من خلال تعديل بسيط في ملف wp-config.php. باتباع الخطوات المذكورة في هذا المقال، يمكنك تجنب هذا الخطأ والاستمتاع بإنشاء مواقع اختبارية لاختبار التغييرات بأمان قبل تطبيقها على موقعك الفعلي.

اترك تعليقاً

لن يتم نشر عنوان بريدك الإلكتروني. الحقول الإلزامية مشار إليها بـ *

Let's Start Your Social Media Success Story Today!

At Ourgrid, we’re committed to helping you achieve your social media marketing goals. Whether you’re looking to boost brand awareness, drive engagement, or increase conversions, our team of experts is here to guide you.

Frequently Asked Questions

Have Questions About Our Social Media Marketing Services? We Have Answers!
What is Social Media Marketing (SMM)?
Social Media Marketing, or SMM, is a digital marketing strategy that involves creating and sharing content on social media platforms to achieve marketing goals. It encompasses activities like content creation, audience engagement, advertising, and analytics to build and strengthen a brand’s online presence.
Why is Social Media Marketing important for my business?
Social Media Marketing, or SMM, is a digital marketing strategy that involves creating and sharing content on social media platforms to achieve marketing goals. It encompasses activities like content creation, audience engagement, advertising, and analytics to build and strengthen a brand’s online presence.
Which social media platforms should my business be on?
Social Media Marketing, or SMM, is a digital marketing strategy that involves creating and sharing content on social media platforms to achieve marketing goals. It encompasses activities like content creation, audience engagement, advertising, and analytics to build and strengthen a brand’s online presence.
What sets your Social Media Marketing services apart?
Social Media Marketing, or SMM, is a digital marketing strategy that involves creating and sharing content on social media platforms to achieve marketing goals. It encompasses activities like content creation, audience engagement, advertising, and analytics to build and strengthen a brand’s online presence.
Can you help with both organic and paid marketing?
Results can vary based on factors like your industry, goals, and the level of competition. However, you can typically expect to see initial improvements in engagement and reach within the first few months. For more substantial growth and conversions, a longer-term commitment is often required.
How do you measure the success of marketing campaigns?

Results can vary based on factors like your industry, goals, and the level of competition. However, you can typically expect to see initial improvements in engagement and reach within the first few months. For more substantial growth and conversions, a longer-term commitment is often required.

Is marketing suitable for my industry/business type?
Results can vary based on factors like your industry, goals, and the level of competition. However, you can typically expect to see initial improvements in engagement and reach within the first few months. For more substantial growth and conversions, a longer-term commitment is often required.
What is the typical duration to see results from Social Media Marketing campaigns?

Results can vary based on factors like your industry, goals, and the level of competition. However, you can typically expect to see initial improvements in engagement and reach within the first few months. For more substantial growth and conversions.

صياد الاستضافة © 2026. جميع الحقوق محفوظة.