+1

Error message received while attempting to edit a post too late

Okay, I get that it's too late to edit my post, but is it intentional for site code to appear on this error page? It could be a security hazard... Not sure it is, but just in case, I thought it best to check with you devs.

Here's the text of the error. I'd have taken a screenshot, but much of the text was black-on-dark-brown-background, and would have been impossible to see within a .JPG or .PNG image. So here it is, in plain text.:


An error occurred

An error occurred during execution; please try again later.

Additional Information:

Application\Exception\Board\EditTimeExpiredException

File:

/var/www/worldofpotter.com/releases/20221223213920/module/Application/src/Application/Listener/Board/BoardListener.php:185

Message:

You can only edit your post within 5 minutes of posting.

Stack Trace:

#0 /var/www/worldofpotter.com/releases/20221223213920/vendor/laminas/laminas-eventmanager/src/EventManager.php(331): Application\Listener\Board\BoardListener->checkPostTime()

#1 /var/www/worldofpotter.com/releases/20221223213920/vendor/laminas/laminas-eventmanager/src/EventManager.php(153): Laminas\EventManager\EventManager->triggerListeners()

#2 /var/www/worldofpotter.com/releases/20221223213920/vendor/eye4web/eye4web-zf2-board/src/Eye4web/Zf2Board/Controller/BoardController.php(291): Laminas\EventManager\EventManager->trigger()

#3 /var/www/worldofpotter.com/releases/20221223213920/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(77): Eye4web\Zf2Board\Controller\BoardController->postEditAction()

#4 /var/www/worldofpotter.com/releases/20221223213920/vendor/laminas/laminas-eventmanager/src/EventManager.php(331): Laminas\Mvc\Controller\AbstractActionController->onDispatch()

#5 /var/www/worldofpotter.com/releases/20221223213920/vendor/laminas/laminas-eventmanager/src/EventManager.php(188): Laminas\EventManager\EventManager->triggerListeners()

#6 /var/www/worldofpotter.com/releases/20221223213920/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(103): Laminas\EventManager\EventManager->triggerEventUntil()

#7 /var/www/worldofpotter.com/releases/20221223213920/vendor/laminas/laminas-mvc/src/DispatchListener.php(138): Laminas\Mvc\Controller\AbstractController->dispatch()

#8 /var/www/worldofpotter.com/releases/20221223213920/vendor/laminas/laminas-eventmanager/src/EventManager.php(331): Laminas\Mvc\DispatchListener->onDispatch()

#9 /var/www/worldofpotter.com/releases/20221223213920/vendor/laminas/laminas-eventmanager/src/EventManager.php(188): Laminas\EventManager\EventManager->triggerListeners()

#10 /var/www/worldofpotter.com/releases/20221223213920/vendor/laminas/laminas-mvc/src/Application.php(331): Laminas\EventManager\EventManager->triggerEventUntil()

#11 /var/www/worldofpotter.com/releases/20221223213920/public/index.php(104): Laminas\Mvc\Application->run()

#12 {main}