Fatal error: Uncaught The notification type
Moderator: mindphp, ผู้ดูแลกระดาน
- thatsawan
- PHP VIP Members
- โพสต์: 28508
- ลงทะเบียนเมื่อ: 31/03/2014 10:02 am
- ติดต่อ:
Fatal error: Uncaught The notification type
Fatal error: Uncaught The notification type "notification.type.xxxx_xxxx" is missing from the file system. thrown in E:\xampp\htdocs\phpbb5\phpbb\notification\manager.php on line 947
- mindphp
- ผู้ดูแลระบบ MindPHP
- โพสต์: 41251
- ลงทะเบียนเมื่อ: 22/09/2008 6:18 pm
- ติดต่อ:
Re: Fatal error: Uncaught The notification type
ทำอะไร ยังไง ไป ขอที่มาที่ไป หน่อยครับ
ติดตาม VDO: http://www.youtube.com/c/MindphpVideoman
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
- thatsawan
- PHP VIP Members
- โพสต์: 28508
- ลงทะเบียนเมื่อ: 31/03/2014 10:02 am
- ติดต่อ:
Re: Fatal error: Uncaught The notification type
โค้ด: เลือกทั้งหมด
Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\InvalidArgumentException' with message 'The service definition "notification.type.notification.type.post_reply" does not exist.' in /opt/lampp/htdocs/phpbb6/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php:871 Stack trace: #0 /opt/lampp/htdocs/phpbb6/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php(478): Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition('notification.ty...') #1 /opt/lampp/htdocs/phpbb6/phpbb/di/service_collection.php(66): Symfony\Component\DependencyInjection\ContainerBuilder->get('notification.ty...') #2 /opt/lampp/htdocs/phpbb6/phpbb/notification/manager.php(945): phpbb\di\service_collection->offsetGet('notification.ty...') #3 /opt/lampp/htdocs/phpbb6/phpbb/notification/type/base.php(133): phpbb\notification\manager->get_notification_type_id('notification.ty...') #4 /opt/lampp/htdocs/phpbb6/phpbb/notification/mana in /opt/lampp/htdocs/phpbb6/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php on line 871
error จริงๆ ของมัน น่าจะเกิดจาก service.yml
- thatsawan
- PHP VIP Members
- โพสต์: 28508
- ลงทะเบียนเมื่อ: 31/03/2014 10:02 am
- ติดต่อ:
Re: Fatal error: Uncaught The notification type
ได้ เเล้ว เย้ๆ
ปัญหา ผิดที่ YML
xxxx.m_notifications.notification.type.reply_notifications:
ไฟล์ notification > reply_notifications.php
วิธีแก้ไข
notification.type.post_reply:
ปัญหา ผิดที่ YML
xxxx.m_notifications.notification.type.reply_notifications:
โค้ด: เลือกทั้งหมด
xxxx.m_notifications.notification.type.reply_notifications:
class: xxxx\m_notifications\notification\reply_notifications
scope: prototype # scope MUST be prototype for this to work!
arguments:
โค้ด: เลือกทั้งหมด
/**
* Get notification type name
*
* @return string
*/
public function get_type() {
return 'notification.type.post_reply';
}
วิธีแก้ไข
notification.type.post_reply:
โค้ด: เลือกทั้งหมด
notification.type.post_reply:
class: mdsoft\m_notifications\notification\reply_notifications
scope: prototype # scope MUST be prototype for this to work!
arguments:
- @user_loader
- @dbal.conn
- @cache.driver
- @user
- @auth
- @config
- @controller.helper
- %core.root_path%
- %core.php_ext%
- %tables.notification_types%
- %tables.notifications%
- %tables.user_notifications%
tags:
- { name: notification.type }
-
- Similar Topics
- ตอบกลับ
- แสดง
- โพสต์ล่าสุด
-
- 1 ตอบกลับ
- 1785 แสดง
-
โพสต์ล่าสุด โดย mindphp
12/07/2015 3:36 am
-
- 3 ตอบกลับ
- 5586 แสดง
-
โพสต์ล่าสุด โดย mindphp
31/05/2019 2:11 pm
-
-
โพสต์ใหม่ Fatal error : Uncaught exception 'Twig_Error_Loader'
โดย thatsawan » 12/11/2014 12:47 pm » ใน Programming - PHP - 0 ตอบกลับ
- 1360 แสดง
-
โพสต์ล่าสุด โดย thatsawan
12/11/2014 12:47 pm
-
-
- 4 ตอบกลับ
- 1511 แสดง
-
โพสต์ล่าสุด โดย thatsawan
10/05/2015 5:48 pm
-
- 0 ตอบกลับ
- 1972 แสดง
-
โพสต์ล่าสุด โดย mindphp
19/12/2022 6:22 am
-
- 2 ตอบกลับ
- 1837 แสดง
-
โพสต์ล่าสุด โดย thatsawan
19/09/2015 2:52 pm
-
-
โพสต์ใหม่ แนวทางแก้ปัญหา php error Uncaught Error: Call to undefined function mysql_real_escape_string() in...
โดย mindphp » 01/12/2020 2:13 am » ใน PHP Knowledge - 0 ตอบกลับ
- 4261 แสดง
-
โพสต์ล่าสุด โดย mindphp
01/12/2020 2:13 am
-
ผู้ใช้งานขณะนี้
สมาชิกกำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และบุคลทั่วไป 8