- You are here:
- Main › Forum › Application Support
Attachments 1.0.1 PHP Fatal error
Due to a lack of free time, both support on this forum and extension development are currently limited.
All bugs are noted and saved for fixes, even if there are no replies to the posts.
Normal activity will resume as soon as possible.
All bugs are noted and saved for fixes, even if there are no replies to the posts.
Normal activity will resume as soon as possible.
4 posts
• Page 1 of 1
-

- nou nou
- Posts: 181
- Joined: Thu Nov 16, 2017 4:31 am
Mon Jul 22, 2024 8:19 pm • via Web
From the error log:
Not entirely sure what causes this - because in some topics this doesn't happen.
- Code: Select all
[Mon Jul 22 19:59:55.409733 2024] [fcgid:warn] [pid 522310:tid 140039640884800] [remote 91.180.55.12:58408] mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Call to undefined method canidev\\core\\media::getInstance() in /home/<my_user>/<my_website>/<my_folder>/ext/canidev/attachments/entity/formats/base.php:343, referer: https://<my_website>/<my_folder>/viewtopic.php?t=6686
[Mon Jul 22 19:59:55.409776 2024] [fcgid:warn] [pid 522310:tid 140039640884800] [remote 91.180.55.12:58408] mod_fcgid: stderr: Stack trace:, referer: https://<my_website>/<my_folder>/viewtopic.php?t=6686
[Mon Jul 22 19:59:55.409779 2024] [fcgid:warn] [pid 522310:tid 140039640884800] [remote 91.180.55.12:58408] mod_fcgid: stderr: #0 /home/<my_user>/<my_website>/<my_folder>/ext/canidev/attachments/entity/formats/custom.php(164): canidev\\attachments\\entity\\formats\\base->get_media(false), referer: https://<my_website>/<my_folder>/viewtopic.php?t=6686
[Mon Jul 22 19:59:55.409782 2024] [fcgid:warn] [pid 522310:tid 140039640884800] [remote 91.180.55.12:58408] mod_fcgid: stderr: #1 /home/<my_user>/<my_website>/<my_folder>/ext/canidev/attachments/entity/formats/custom.php(124): canidev\\attachments\\entity\\formats\\custom->get_template_icon(), referer: https://<my_website>/<my_folder>/viewtopic.php?t=6686
[Mon Jul 22 19:59:55.409785 2024] [fcgid:warn] [pid 522310:tid 140039640884800] [remote 91.180.55.12:58408] mod_fcgid: stderr: #2 /home/<my_user>/<my_website>/<my_folder>/ext/canidev/attachments/event/listener.php(92): canidev\\attachments\\entity\\formats\\custom->render(Array), referer: https://<my_website>/<my_folder>/viewtopic.php?t=6686
[Mon Jul 22 19:59:55.409787 2024] [fcgid:warn] [pid 522310:tid 140039640884800] [remote 91.180.55.12:58408] mod_fcgid: stderr: #3 /home/<my_user>/<my_website>/<my_folder>/vendor/symfony/event-dispatcher/EventDispatcher.php(214): canidev\\attachments\\event\\listener->modify_template(Object(phpbb\\event\\data), 'core.parse_atta...', Object(phpbb\\event\\dispatcher)), referer: https://<my_website>/<my_folder>/viewtopic.php?t=6686
[Mon Jul 22 19:59:55.409792 2024] [fcgid:warn] [pid 522310:tid 140039640884800] [remote 91.180.55.12:58408] mod_fcgid: stderr: #4 /home/<my_user>/<my_website>/<my_folder>/vendor/symfony/event-dispatcher/EventDispatc in /home/<my_user>/<my_website>/<my_folder>/ext/canidev/attachments/entity/formats/base.php on line 343, referer: https://<my_website>/<my_folder>/viewtopic.php?t=6686
Not entirely sure what causes this - because in some topics this doesn't happen.
-

- nou nou
- Posts: 181
- Joined: Thu Nov 16, 2017 4:31 am
Mon Jul 22, 2024 8:31 pm • via Web
This happens when trying to add a reply to the topic. Preview and Submit cause the same error.
-

- IvanPF
- Administrator
- Posts: 2265
- Joined: Fri Jun 17, 2011 12:15 am
- Location: España (Spain)
Mon Jul 22, 2024 9:58 pm • via Web
The strange thing is that "canidev\\core\\media::getInstance()" appears in the error, it should be "canidev\\core\\Media::getInstance()".
Do you have the file "Media.php" (with the first letter capitalized) in /ext/canidev/core/?
Does the custom block allow you to add images for extensions?
Anyway, I will try to do tests to find the problem.
Do you have the file "Media.php" (with the first letter capitalized) in /ext/canidev/core/?
Does the custom block allow you to add images for extensions?
Anyway, I will try to do tests to find the problem.
-

- nou nou
- Posts: 181
- Joined: Thu Nov 16, 2017 4:31 am
Tue Jul 23, 2024 9:33 am • via Web
Yes, first letter capitalized. The error message doesn't have the capital letter - not sure why either.
Yes, I can add images and the attachments show nicely in the topic - this just happens when trying to reply (no issues were reported with version 1.0.0 which I've used for quite a while)...
Thank you!
Yes, I can add images and the attachments show nicely in the topic - this just happens when trying to reply (no issues were reported with version 1.0.0 which I've used for quite a while)...
Thank you!
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests
- External Links
- phpBB Official
- phpBB Official (Spanish)
- Raul Arroyo Monzo
- PasionReef
- About CaniDev
- Terms of use
- Privacy Policy
- About Us
- Contact
- © 2011-2026 CaniDev