Fatal error: Cannot declare class iubendaParser, because the name is already in use in /var/www/vhosts/execohr.it/httpdocs/plugins/system/iubenda/iubenda-cookie-class/iubenda.class.php on line 24
Error: Cannot declare class iubendaParser, because the name is already in use (500 Whoops, looks like something went wrong.)

FatalError

HTTP 500 Whoops, looks like something went wrong.

Error: Cannot declare class iubendaParser, because the name is already in use

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

  1.  *
  2.  * You should have received a copy of the GNU General Public License
  3.  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  4.  */
  5. class iubendaParser {
  6.     // variables
  7.     const IUB_REGEX_PATTERN '/<!--\s*IUB_COOKIE_POLICY_START\s*-->(.*?)<!--\s*IUB_COOKIE_POLICY_END\s*-->/s';
  8.     const IUB_REGEX_PATTERN_2 '/<!--\s*IUB-COOKIE-BLOCK-START\s*-->(.*?)<!--\s*IUB-COOKIE-BLOCK-END\s*-->/s';
  9.     const IUB_REGEX_PURPOSE_PATTERN '/<!--\s*IUB-COOKIE-BLOCK-START-PURPOSE-(\d+)\s*-->(.*?)<!--\s*IUB-COOKIE-BLOCK-END-PURPOSE-\d+\s*-->/s';

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Error: Cannot declare class iubendaParser, because the name is already in use

  at /var/www/vhosts/execohr.it/httpdocs/plugins/system/iubenda/iubenda-cookie-class/iubenda.class.php:24                

Warning: Cannot declare class Joomla\CMS\Document\Renderer\Html\ModulesRenderer, because the name is already in use in /var/www/vhosts/execohr.it/httpdocs/templates/yootheme/vendor/yootheme/theme-joomla-modules/src/Listener/LoadModuleRenderer.php on line 23

Fatal error: Uncaught RuntimeException: Failed to start the session because headers have already been sent by "/var/www/vhosts/execohr.it/httpdocs/plugins/system/iubenda/iubenda-cookie-class/iubenda.class.php" at line 24. in /var/www/vhosts/execohr.it/httpdocs/libraries/vendor/joomla/session/src/Storage/NativeStorage.php:473 Stack trace: #0 /var/www/vhosts/execohr.it/httpdocs/libraries/src/Session/Storage/JoomlaStorage.php(295): Joomla\Session\Storage\NativeStorage->start() #1 /var/www/vhosts/execohr.it/httpdocs/libraries/vendor/joomla/session/src/Session.php(406): Joomla\CMS\Session\Storage\JoomlaStorage->start() #2 /var/www/vhosts/execohr.it/httpdocs/libraries/vendor/joomla/session/src/Session.php(333): Joomla\Session\Session->start() #3 /var/www/vhosts/execohr.it/httpdocs/libraries/src/Session/Session.php(194): Joomla\Session\Session->has() #4 /var/www/vhosts/execohr.it/httpdocs/libraries/src/Factory.php(372): Joomla\CMS\Session\Session->get() #5 /var/www/vhosts/execohr.it/httpdocs/plugins/system/forseo/vendor/weeblr/wblib/v2/packages/platform/joomla/platform.php(221): Joomla\CMS\Factory::getUser() #6 /var/www/vhosts/execohr.it/httpdocs/plugins/system/forseo/vendor/weeblr/forseo/controller/pagedatacollector.php(1163): Weeblr\Wblib\Forseo\Platform\JoomlaPlatform->isGuest() #7 /var/www/vhosts/execohr.it/httpdocs/plugins/system/forseo/vendor/weeblr/forseo/controller/pagedatacollector.php(157): Weeblr\Forseo\Controller\Pagedatacollector->canRun() #8 [internal function]: Weeblr\Forseo\Controller\Pagedatacollector->onAfterRoute() #9 /var/www/vhosts/execohr.it/httpdocs/plugins/system/forseo/vendor/weeblr/wblib/v2/packages/platform/joomla/platform.php(2219): call_user_func_array() #10 /var/www/vhosts/execohr.it/httpdocs/plugins/system/forseo/vendor/weeblr/wblib/v2/packages/system/hook.php(173): Weeblr\Wblib\Forseo\Platform\JoomlaPlatform->executeHook() #11 /var/www/vhosts/execohr.it/httpdocs/plugins/system/forseo/vendor/weeblr/wblib/v2/packages/system/hook.php(116): Weeblr\Wblib\Forseo\System\Hook->execute() #12 /var/www/vhosts/execohr.it/httpdocs/plugins/system/forseo/forseo.php(316): Weeblr\Wblib\Forseo\System\Hook->run() #13 /var/www/vhosts/execohr.it/httpdocs/plugins/system/forseo/forseo.php(268): plgSystemForseo->doOnAfterRoute() #14 /var/www/vhosts/execohr.it/httpdocs/libraries/src/Plugin/CMSPlugin.php(289): plgSystemForseo->onAfterRoute() #15 /var/www/vhosts/execohr.it/httpdocs/libraries/vendor/joomla/event/src/Dispatcher.php(486): Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() #16 /var/www/vhosts/execohr.it/httpdocs/libraries/src/Application/EventAware.php(111): Joomla\Event\Dispatcher->dispatch() #17 /var/www/vhosts/execohr.it/httpdocs/plugins/system/forseo/platform/helpers/errorpages/renderer.php(122): Joomla\CMS\Application\WebApplication->triggerEvent() #18 /var/www/vhosts/execohr.it/httpdocs/plugins/system/forseo/platform/helpers/errorpages/renderer.php(74): Weeblr\Forseo\Platform\Helpers\Errorpages\Renderer->simulateRouting() #19 /var/www/vhosts/execohr.it/httpdocs/plugins/system/forseo/vendor/weeblr/forseo/helper/errorpage.php(62): Weeblr\Forseo\Platform\Helpers\Errorpages\Renderer->render() #20 /var/www/vhosts/execohr.it/httpdocs/plugins/system/forseo/vendor/weeblr/forseo/controller/pagedatacollector.php(945): Weeblr\Forseo\Helper\Errorpage->render() #21 /var/www/vhosts/execohr.it/httpdocs/plugins/system/forseo/vendor/weeblr/forseo/controller/error.php(105): Weeblr\Forseo\Controller\Pagedatacollector->onError() #22 [internal function]: Weeblr\Forseo\Controller\Error->fatalErrorHandler() #23 {main} thrown in /var/www/vhosts/execohr.it/httpdocs/libraries/vendor/joomla/session/src/Storage/NativeStorage.php on line 473