PaulineK
Member
In the last couple of days I am getting many server errors for images on one thread. This thread has a lot of photos (I limit photos to 15 per post) and they don’t all display. I will paste in the error message below.
My server is running PHP 7.4.6.
What can I do to solve this? I have not changed anything on the forum software in a couple of months.
SERVER ERROR EXAMPLE
#1 src/XF/Template/Templater.php(994): trigger_error()
#2 internal_data/code_cache/navigation_cache.php(525): XF\Template\Templater->method()
#3 src/XF/Template/Templater.php(6660): XF\Pub\App->{closure}()
#4 src/XF/Pub/App.php(560): XF\Template\Templater->renderNavigationClosure()
#5 src/XF/Pub/App.php(513): XF\Pub\App->getNavigation()
#6 src/XF/App.php(2001): XF\Pub\App->renderPageHtml()
#7 src/XF/Mvc/Dispatcher.php(402): XF\App->renderPage()
#8 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render()
#9 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#10 src/XF.php(391): XF\App->run()
#11 index.php(20): XF::runApp()
#12 {main}
["url"] => string(38) "/community/media/leh-palace.11370/full"
["referrer"] => string(80) "https://www.sloweurope.com/community/threads/ladakh-takes-your-breath-away.5476/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
==============
I also see messages about max user connections.
My server is running PHP 7.4.6.
What can I do to solve this? I have not changed anything on the forum software in a couple of months.
SERVER ERROR EXAMPLE
- ErrorException: Template error: Method canViewResources is not callable on the given object (XF\Entity\User)
- src/XF/Template/Templater.php:994
- Generated by: Pauline
- Sep 27, 2020 at 10:49 PM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError()#1 src/XF/Template/Templater.php(994): trigger_error()
#2 internal_data/code_cache/navigation_cache.php(525): XF\Template\Templater->method()
#3 src/XF/Template/Templater.php(6660): XF\Pub\App->{closure}()
#4 src/XF/Pub/App.php(560): XF\Template\Templater->renderNavigationClosure()
#5 src/XF/Pub/App.php(513): XF\Pub\App->getNavigation()
#6 src/XF/App.php(2001): XF\Pub\App->renderPageHtml()
#7 src/XF/Mvc/Dispatcher.php(402): XF\App->renderPage()
#8 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render()
#9 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#10 src/XF.php(391): XF\App->run()
#11 index.php(20): XF::runApp()
#12 {main}
Request state
array(4) {["url"] => string(38) "/community/media/leh-palace.11370/full"
["referrer"] => string(80) "https://www.sloweurope.com/community/threads/ladakh-takes-your-breath-away.5476/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
==============
I also see messages about max user connections.
- User slow2_16 already has more than 'max_user_connections' active connections
- src/XF/Db/Mysqli/Adapter.php:165