การแจ้งเตือน
ลบทั้งหมด

หลังบ้านขึ้น error ค่ะ (ใช้ Plant 1.4.6)

2 โพสต์
2 ผู้ใช้
0 Likes
100 เข้าชม
0
หัวข้อเริ่มต้น

หลังบ้านขึ้น error ค่ะ (แนบไฟล์หน้าจอมาให้ค่ะ) ข้อความที่ขึ้น คือ

Notice: Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. โปรดดู การแก้ข้อผิดพลาดใน WordPress สำหรับข้อมูลเพิ่มเติม (ข้อความนี้ถูกเพิ่มมาในรุ่น 5.3.0.) in /home3/cp421286/public_html/thaiprint.org/wp-includes/functions.php on line 5835

Deprecated: Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /home3/cp421286/public_html/thaiprint.org/wp-includes/functions.php on line 5758

Theme: Plant 1.4.6 (Fruit Child theme)
Wordpress 6.1
PHP 7.3.33

รบกวนขอทราบวิธีแก้ไขค่ะ
(ไม่มีความรู้เรื่องการเขียนโค้ดนะคะ หากต้องมีแก้ไขโค้ด ขอคำอธิบายโดยละเอียดนะคะ)

ขอบคุณค่ะ

1667451105-Screen-Shot-2565-11-03-at-114842.png
2 คำตอบ
0
หัวข้อเริ่มต้น

เจอวิธีแก้โดยบังเอิญค่ะ จากเว็บ https://wordpress.org/support/topic/contextual_help-is-deprecated-since-version-3-3-0/
ความคิดเห็นสุดท้ายค่ะ ว่ามาจาก Plugin - Page scroll to id
ในเว็บมี Plugin - Page scroll back to top ค่ะ
ลองปิดดู ปรากฎว่า error ที่แสดงอยู่หายไปแล้วค่ะ

Notice: Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. โปรดดู การแก้ข้อผิดพลาดใน WordPress สำหรับข้อมูลเพิ่มเติม (ข้อความนี้ถูกเพิ่มมาในรุ่น 5.3.0.) in /home3/cp421286/public_html/thaiprint.org/wp-includes/functions.php on line 5835


Deprecated
: Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /home3/cp421286/public_html/thaiprint.org/wp-includes/functions.php on line 5758

เบื้องต้นแก้ปัญหาโดยการปิด Plugin - Page scroll back to top ไปก่อนค่ะ

รอคำแนะนำเพิ่มเติมนะคะ

ขอบคุณค่ะ

1667796176-Screen-Shot-2565-11-07-at-113357.png
0

ตัวที่แสดงจริงๆ เป็นแค่ notice เท่านั้นนะครับ ยังไม่ถึงกับเป็น error

ดูเหมือนว่าจะเปิด wp-debug ไว้นะครับ

ลิงก์แนวทางปิดการใช้ wp-debug 

 

แบ่งปัน: