Closed eddiekonczal closed 3 years ago
Hi, can you enable debug mode and set the error reporting to maximum?
I have just run the update from 3.9.27 to 3.10.0-rc2 and can not reproduce the issue so the stack trace is important to check where the issue comes from.
OK, I did that. Here is what I get:
KExceptionError > Parse Error [500]
syntax error, unexpected ')'
.../plugins/quickicon/eos310/eos310.php:117
112 // Build the message to be displayed in the cpanel
113 $messageText = Text::sprintf(
114 $this->currentMessage['messageText'],
115 HTMLHelper::_('date', static::EOS_DATE, Text::_('DATE_FORMAT_LC3')),
116 $this->currentMessage['messageLink'],
117 );
118
119 if ($this->currentMessage['snoozable'])
120 {
121 $messageText .=
122 '<p><button class="btn btn-warning eosnotify-snooze-btn" type="button">' .
KExceptionHandlerAbstract->_handleException()
.../plugins/system/redirect/redirect.php:112
107 if ($app->isClient('administrator') || ((int) $error->getCode() !== 404))
108 {
109 // Proxy to the previous exception handler if available, otherwise just render the error page
110 if (self::$previousExceptionHandler)
111 {
112 call_user_func_array(self::$previousExceptionHandler, array($error));
113 }
114 else
115 {
116 JErrorPage::render($error);
117 }
Arguments
exception
ParseError#6342 message => string(28) "syntax error, unexpected ')'" string => string(0) "" code => 0 file => string(66) "/mnt/devel_web/cms/spanport310/plugins/quickicon/eos310/eos310.php" line => 117 trace => array (17) | 0 => array (6) | | file => string(68) "/mnt/devel_web/cms/spanport310/libraries/src/Plugin/PluginHelper.php" | | line => 182 | | function => string(6) "import" | | class => string(30) "Joomla\CMS\Plugin\PluginHelper" | | type => string(2) "::" | | args => array (3) | | | 0 => stdClass#b210 { ... } | | | 1 => bool TRUE | | | 2 => JEventDispatcher#ef25 { ... } | 1 => array (6) | | file => string(77) "/mnt/devel_web/cms/spanport310/administrator/modules/mod_quickicon/helper.php" | | line => 148 | | function => string(12) "importPlugin" | | class => string(30) "Joomla\CMS\Plugin\PluginHelper" | | type => string(2) "::" | | args => array (1) | | | 0 => string(9) "quickicon" | 2 => array (6) | | file => string(84) "/mnt/devel_web/cms/spanport310/administrator/modules/mod_quickicon/mod_quickicon.php" | | line => 14 | | function => string(10) "getButtons" | | class => string(18) "ModQuickIconHelper" | | type => string(2) "::" | | args => array (1) | | | 0 => Joomla\Registry\Registry#dd70 { ... } | 3 => array (4) | | file => string(68) "/mnt/devel_web/cms/spanport310/libraries/src/Helper/ModuleHelper.php" | | line => 200 | | args => array (1) | | | 0 => string(84) "/mnt/devel_web/cms/spanport310/administrator/modules/mod_quickicon/mod_quickicon.php" | | function => string(7) "include" | 4 => array (6) | | file => string(96) "/mnt/devel_web/cms/spanport310/administrator/components/com_cpanel/views/cpanel/tmpl/default.php" | | line => 25 | | function => string(12) "renderModule" | | class => string(30) "Joomla\CMS\Helper\ModuleHelper" | | type => string(2) "::" | | args => array (1) | | | 0 => stdClass#b77e { ... } | 5 => array (4) | | file => string(66) "/mnt/devel_web/cms/spanport310/libraries/src/MVC/View/HtmlView.php" | | line => 701 | | args => array (1) | | | 0 => string(96) "/mnt/devel_web/cms/spanport310/administrator/components/com_cpanel/views/cpanel/tmpl/default.php" | | function => string(7) "include" | 6 => array (6) | | file => string(66) "/mnt/devel_web/cms/spanport310/libraries/src/MVC/View/HtmlView.php" | | line => 230 | | function => string(12) "loadTemplate" | | class => string(28) "Joomla\CMS\MVC\View\HtmlView" | | type => string(2) "->" | | args => array () | 7 => array (6) | | file => string(93) "/mnt/devel_web/cms/spanport310/administrator/components/com_cpanel/views/cpanel/view.html.php" | | line => 65 | | function => string(7) "display" | | class => string(28) "Joomla\CMS\MVC\View\HtmlView" | | type => string(2) "->" | | args => array (1) | | | 0 => NULL | 8 => array (6) | | file => string(78) "/mnt/devel_web/cms/spanport310/libraries/src/MVC/Controller/BaseController.php" | | line => 664 | | function => string(7) "display" | | class => string(16) "CpanelViewCpanel" | | type => string(2) "->" | | args => array () | 9 => array (6) | | file => string(78) "/mnt/devel_web/cms/spanport310/libraries/src/MVC/Controller/BaseController.php" | | line => 702 | | function => string(7) "display" | | class => string(40) "Joomla\CMS\MVC\Controller\BaseController" | | type => string(2) "->" | | args => array () | 10 => array (6) | | file => string(77) "/mnt/devel_web/cms/spanport310/administrator/components/com_cpanel/cpanel.php" | | line => 15 | | function => string(7) "execute" | | class => string(40) "Joomla\CMS\MVC\Controller\BaseController" | | type => string(2) "->" | | args => array (1) | | | 0 => string(0) "" | 11 => array (4) | | file => string(74) "/mnt/devel_web/cms/spanport310/libraries/src/Component/ComponentHelper.php" | | line => 402 | | args => array (1) | | | 0 => string(77) "/mnt/devel_web/cms/spanport310/administrator/components/com_cpanel/cpanel.php" | | function => string(12) "require_once" | 12 => array (6) | | file => string(74) "/mnt/devel_web/cms/spanport310/libraries/src/Component/ComponentHelper.php" | | line => 377 | | function => string(16) "executeComponent" | | class => string(36) "Joomla\CMS\Component\ComponentHelper" | | type => string(2) "::" | | args => array (1) | | | 0 => string(77) "/mnt/devel_web/cms/spanport310/administrator/components/com_cpanel/cpanel.php" | 13 => array (6) | | file => string(85) "/mnt/devel_web/cms/spanport310/libraries/src/Application/AdministratorApplication.php" | | line => 101 | | function => string(15) "renderComponent" | | class => string(36) "Joomla\CMS\Component\ComponentHelper" | | type => string(2) "::" | | args => array (1) | | | 0 => string(10) "com_cpanel" | 14 => array (6) | | file => string(85) "/mnt/devel_web/cms/spanport310/libraries/src/Application/AdministratorApplication.php" | | line => 159 | | function => string(8) "dispatch" | | class => string(47) "Joomla\CMS\Application\AdministratorApplication" | | type => string(2) "->" | | args => array () | 15 => array (6) | | file => string(75) "/mnt/devel_web/cms/spanport310/libraries/src/Application/CMSApplication.php" | | line => 225 | | function => string(9) "doExecute" | | class => string(47) "Joomla\CMS\Application\AdministratorApplication" | | type => string(2) "->" | | args => array () | 16 => array (6) | | file => string(54) "/mnt/devel_web/cms/spanport310/administrator/index.php" | | line => 51 | | function => string(7) "execute" | | class => string(37) "Joomla\CMS\Application\CMSApplication" | | type => string(2) "->" | | args => array () previous => NULL
PlgSystemRedirect::doErrorHandling()
86 throw new InvalidArgumentException(
87 sprintf('The error handler requires an Exception or Throwable object, a "%s" object was given instead.', get_class($exception))
88 );
89 }
90
91 self::doErrorHandling($exception);
92 }
93
94 /**
95 * Internal processor for all error handlers
96 *
Arguments
error
ParseError#6342 message => string(28) "syntax error, unexpected ')'" string => string(0) "" code => 0 file => string(66) "/mnt/devel_web/cms/spanport310/plugins/quickicon/eos310/eos310.php" line => 117 trace => array (17) | 0 => array (6) | | file => string(68) "/mnt/devel_web/cms/spanport310/libraries/src/Plugin/PluginHelper.php" | | line => 182 | | function => string(6) "import" | | class => string(30) "Joomla\CMS\Plugin\PluginHelper" | | type => string(2) "::" | | args => array (3) | | | 0 => stdClass#b210 { ... } | | | 1 => bool TRUE | | | 2 => JEventDispatcher#ef25 { ... } | 1 => array (6) | | file => string(77) "/mnt/devel_web/cms/spanport310/administrator/modules/mod_quickicon/helper.php" | | line => 148 | | function => string(12) "importPlugin" | | class => string(30) "Joomla\CMS\Plugin\PluginHelper" | | type => string(2) "::" | | args => array (1) | | | 0 => string(9) "quickicon" | 2 => array (6) | | file => string(84) "/mnt/devel_web/cms/spanport310/administrator/modules/mod_quickicon/mod_quickicon.php" | | line => 14 | | function => string(10) "getButtons" | | class => string(18) "ModQuickIconHelper" | | type => string(2) "::" | | args => array (1) | | | 0 => Joomla\Registry\Registry#dd70 { ... } | 3 => array (4) | | file => string(68) "/mnt/devel_web/cms/spanport310/libraries/src/Helper/ModuleHelper.php" | | line => 200 | | args => array (1) | | | 0 => string(84) "/mnt/devel_web/cms/spanport310/administrator/modules/mod_quickicon/mod_quickicon.php" | | function => string(7) "include" | 4 => array (6) | | file => string(96) "/mnt/devel_web/cms/spanport310/administrator/components/com_cpanel/views/cpanel/tmpl/default.php" | | line => 25 | | function => string(12) "renderModule" | | class => string(30) "Joomla\CMS\Helper\ModuleHelper" | | type => string(2) "::" | | args => array (1) | | | 0 => stdClass#b77e { ... } | 5 => array (4) | | file => string(66) "/mnt/devel_web/cms/spanport310/libraries/src/MVC/View/HtmlView.php" | | line => 701 | | args => array (1) | | | 0 => string(96) "/mnt/devel_web/cms/spanport310/administrator/components/com_cpanel/views/cpanel/tmpl/default.php" | | function => string(7) "include" | 6 => array (6) | | file => string(66) "/mnt/devel_web/cms/spanport310/libraries/src/MVC/View/HtmlView.php" | | line => 230 | | function => string(12) "loadTemplate" | | class => string(28) "Joomla\CMS\MVC\View\HtmlView" | | type => string(2) "->" | | args => array () | 7 => array (6) | | file => string(93) "/mnt/devel_web/cms/spanport310/administrator/components/com_cpanel/views/cpanel/view.html.php" | | line => 65 | | function => string(7) "display" | | class => string(28) "Joomla\CMS\MVC\View\HtmlView" | | type => string(2) "->" | | args => array (1) | | | 0 => NULL | 8 => array (6) | | file => string(78) "/mnt/devel_web/cms/spanport310/libraries/src/MVC/Controller/BaseController.php" | | line => 664 | | function => string(7) "display" | | class => string(16) "CpanelViewCpanel" | | type => string(2) "->" | | args => array () | 9 => array (6) | | file => string(78) "/mnt/devel_web/cms/spanport310/libraries/src/MVC/Controller/BaseController.php" | | line => 702 | | function => string(7) "display" | | class => string(40) "Joomla\CMS\MVC\Controller\BaseController" | | type => string(2) "->" | | args => array () | 10 => array (6) | | file => string(77) "/mnt/devel_web/cms/spanport310/administrator/components/com_cpanel/cpanel.php" | | line => 15 | | function => string(7) "execute" | | class => string(40) "Joomla\CMS\MVC\Controller\BaseController" | | type => string(2) "->" | | args => array (1) | | | 0 => string(0) "" | 11 => array (4) | | file => string(74) "/mnt/devel_web/cms/spanport310/libraries/src/Component/ComponentHelper.php" | | line => 402 | | args => array (1) | | | 0 => string(77) "/mnt/devel_web/cms/spanport310/administrator/components/com_cpanel/cpanel.php" | | function => string(12) "require_once" | 12 => array (6) | | file => string(74) "/mnt/devel_web/cms/spanport310/libraries/src/Component/ComponentHelper.php" | | line => 377 | | function => string(16) "executeComponent" | | class => string(36) "Joomla\CMS\Component\ComponentHelper" | | type => string(2) "::" | | args => array (1) | | | 0 => string(77) "/mnt/devel_web/cms/spanport310/administrator/components/com_cpanel/cpanel.php" | 13 => array (6) | | file => string(85) "/mnt/devel_web/cms/spanport310/libraries/src/Application/AdministratorApplication.php" | | line => 101 | | function => string(15) "renderComponent" | | class => string(36) "Joomla\CMS\Component\ComponentHelper" | | type => string(2) "::" | | args => array (1) | | | 0 => string(10) "com_cpanel" | 14 => array (6) | | file => string(85) "/mnt/devel_web/cms/spanport310/libraries/src/Application/AdministratorApplication.php" | | line => 159 | | function => string(8) "dispatch" | | class => string(47) "Joomla\CMS\Application\AdministratorApplication" | | type => string(2) "->" | | args => array () | 15 => array (6) | | file => string(75) "/mnt/devel_web/cms/spanport310/libraries/src/Application/CMSApplication.php" | | line => 225 | | function => string(9) "doExecute" | | class => string(47) "Joomla\CMS\Application\AdministratorApplication" | | type => string(2) "->" | | args => array () | 16 => array (6) | | file => string(54) "/mnt/devel_web/cms/spanport310/administrator/index.php" | | line => 51 | | function => string(7) "execute" | | class => string(37) "Joomla\CMS\Application\CMSApplication" | | type => string(2) "->" | | args => array () previous => NULL
PlgSystemRedirect::handleException()
I just discovered that disabling the "Quick Icon - Joomla! 3.10 End Of Support Notification" plugin resolves this problem
Please check this patch here: https://github.com/joomla/joomla-cms/pull/35091
Steps to reproduce the issue
Expected result
The Control Panel should not display an error.
Actual result
Control panel is blank with following error:
System information (as much as possible)
============= System Information
php: Linux webdesign 4.12.14-122.66-default #1 SMP Mon Apr 12 10:54:37 UTC 2021 (8fc5925) x86_64 dbserver: mysql dbversion: 5.5.5-10.5.9-MariaDB-1:10.5.9+maria~focal dbcollation: utf8mb4_general_ci dbconnectioncollation: utf8mb4_general_ci phpversion: 7.0.7 server: Apache sapi_name: apache2handler version: Joomla! 3.10.0-rc2 Release Candidate [ Daraja ] 9-August-2021 12:09 GMT platform: Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT useragent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.8.1
============= PHP Settings
safe_mode: false display_errors: false short_open_tag: false file_uploads: true magic_quotes_gpc: false register_globals: false output_buffering: true open_basedir: session.save_path: xxxxxx session.auto_start: 0 disable_functions: xml: true zlib: true zip: true mbstring: true iconv: true max_input_vars: 1000
============= Configuration File
offline: 0 offline_message: INSTL_STD_OFFLINE_MSG display_offline_message: 1 offline_image: sitename: xxxxxx editor: jce captcha: recaptcha list_limit: 20 access: 1 debug: 0 debug_lang: 0 dbtype: mysqli host: xxxxxx user: xxxxxx password: xxxxxx db: xxxxxx dbprefix: xxxxxx live_site: secret: xxxxxx gzip: 0 error_reporting: default helpurl: https://help.joomla.org/proxy?keyref=Help{major}{minor}:{keyref}&lang={langcode} ftp_host: 127.0.0.1 ftp_port: 21 ftp_user: xxxxxx ftp_pass: xxxxxx ftp_root: ftp_enable: 0 offset: America/New_York mailer: mail mailfrom: xxxxxx fromname: xxxxxx sendmail: xxxxxx smtpauth: 0 smtpuser: xxxxxx smtppass: xxxxxx smtphost: xxxxxx smtpsecure: none smtpport: 25 caching: 0 cache_handler: file cachetime: 15 MetaDesc: Department of Spanish and Portuguese, The School of Arts and Sciences, Rutgers, The State University of New Jersey MetaKeys: Department of Spanish and Portuguese, School of Arts and Sciences, SAS, Rutgers University, Spanish, Portuguese, Spanish language, Portuguese language, Spanish linguistics, Hispanic Literature & Culture, Spanish Literature, Translation & Interpreting, Bilingualism, SpanPort, Second Language Acquisition, Spanish culture, Portuguese culture, Study Abroad in Spain, Study Abroad in Perú MetaTitle: 1 MetaAuthor: 1 MetaVersion: 0 robots: sef: 1 sef_rewrite: 1 sef_suffix: 0 unicodeslugs: 0 feed_limit: 10 log_path: xxxxxx tmp_path: xxxxxx lifetime: 60 session_handler: database MetaRights: sitename_pagetitles: 0 force_ssl: 2 feed_email: author cookie_domain: cookie_path: memcache_persist: 1 memcache_compress: 0 memcache_server_host: xxxxxx memcache_server_port: 11211 memcached_persist: 1 memcached_compress: 0 memcached_server_host: xxxxxx memcached_server_port: 11211 proxy_enable: 0 proxy_host: proxy_port: proxy_user: xxxxxx proxy_pass: xxxxxx mailonline: 1 session_memcache_server_host: xxxxxx session_memcache_server_port: 11211 session_memcached_server_host: xxxxxx session_memcached_server_port: 11211 frontediting: 1 asset_id: 1 cache_platformprefix: 0 redis_persist: 1 redis_server_host: xxxxxx redis_server_port: 6379 redis_server_auth: xxxxxx redis_server_db: 0 massmailoff: 0 replyto: replytoname: session_redis_persist: 1 session_redis_server_host: xxxxxx session_redis_server_port: 6379 session_redis_server_auth: xxxxxx session_redis_server_db: 0 shared_session: 0
============= Folder Permissions
administrator/components: writable administrator/language: writable administrator/language/en-GB: writable administrator/language/overrides: writable administrator/manifests/files: writable administrator/manifests/libraries: writable administrator/manifests/packages: writable administrator/modules: writable administrator/templates: writable components: writable images: writable images/Flyers: writable images/M_images: writable images/New: writable images/SeniorCeremony2017: writable images/banners: writable images/eventlist: writable images/htmlmaps: writable images/igallery: writable images/lnee: writable images/people_portraits: writable images/prospective-students: writable images/resized: writable images/smilies: writable images/stories: writable images/thumbnails: writable images/translation-and-interpreting: writable images/syllabi: writable images/template: writable language: writable language/en-GB: writable language/overrides: writable libraries: writable media: writable modules: writable plugins: writable plugins/actionlog: writable plugins/authentication: writable plugins/captcha: writable plugins/content: writable plugins/docman: writable plugins/editors-xtd: writable plugins/editors: writable plugins/extension: writable plugins/fields: writable plugins/finder: writable plugins/installer: writable plugins/jsnimageshow: writable plugins/nextendslidergenerator: writable plugins/nextendslidergeneratorlayouts: writable plugins/nextendslideritem: writable plugins/nextendslidertype: writable plugins/nextendsliderwidget: writable plugins/nextendsliderwidgetarrow: writable plugins/nextendsliderwidgetautoplay: writable plugins/nextendsliderwidgetbar: writable plugins/nextendsliderwidgetbullet: writable plugins/nextendsliderwidgethtml: writable plugins/nextendsliderwidgetindicator: writable plugins/nextendsliderwidgetshadow: writable plugins/nextendsliderwidgetthumbnail: writable plugins/osmap: writable plugins/privacy: writable plugins/quickicon: writable plugins/sampledata: writable plugins/search: writable plugins/system: writable plugins/twofactorauth: writable plugins/user: writable plugins/visforms: writable plugins/xmap: writable templates: writable configuration.php: writable cache: writable administrator/cache: writable log: writable tmp: writable
============= PHP Information
============= Extensions
Additional comments