mlutfy / reporterror

Sends you a detailed email when a CiviCRM fatal error occurs.
https://lab.civicrm.org/extensions/reporterror
10 stars 7 forks source link

Could not find valid value for id #33

Open magnolia61 opened 5 years ago

magnolia61 commented 5 years ago

Hello Mathieu, We were getting a email with the message Could not find valid value for id for the url: https://www.ourdomain.nl/civicrm/event/register?id=152&reset=1

We had emails for no-referrer events and contributions disabled and redirect to frontpage enabled. What would you think could have caused this error? (id seems present in the url)

EDIT: just saw the other issue https://github.com/mlutfy/ca.bidon.reporterror/issues/25 probably related?

Regards, Richard

***BACKTRACE***
#0 /var/www/vhosts/xyz/webroot/sites/all/modules/civicrm_extensions/ca.bidon.reporterror/CRM/ReportError/Utils.php(31): reporterror_civicrm_generatereport("Stichting Onvergetelijke Zomerkampen", (Array:2), NULL, (Array:0))
#1 /var/www/vhosts/xyz/webroot/sites/all/modules/civicrm_extensions/ca.bidon.reporterror/CRM/ReportError/Handler/FormsNoReferer.php(54): CRM_ReportError_Utils::sendReport((Array:2), (Array:0))
#2 /var/www/vhosts/xyz/webroot/sites/all/modules/civicrm_extensions/ca.bidon.reporterror/reporterror.php(168): CRM_ReportError_Handler_FormsNoReferer::handler((Array:2), (Array:0))
#3 /var/www/vhosts/xyz/webroot/sites/all/modules/civicrm/CRM/Core/Error.php(368): reporterror_civicrm_handler((Array:2))
#4 /var/www/vhosts/xyz/webroot/sites/all/modules/civicrm/CRM/Utils/Request.php(121): CRM_Core_Error::fatal("Geen geldige waarde gevonden voor id")
#5 /var/www/vhosts/xyz/webroot/sites/all/modules/civicrm/CRM/Event/StateMachine/Registration.php(52): CRM_Utils_Request::retrieve("id", "Positive", Object(CRM_Event_Controller_Registration), TRUE)
#6 /var/www/vhosts/xyz/webroot/sites/all/modules/civicrm/CRM/Event/Controller/Registration.php(47): CRM_Event_StateMachine_Registration->__construct(Object(CRM_Event_Controller_Registration), TRUE)
#7 /var/www/vhosts/xyz/webroot/sites/all/modules/civicrm/CRM/Core/Invoke.php(304): CRM_Event_Controller_Registration->__construct("Evenementinschrijving", TRUE, "null", NULL, "false")
#8 /var/www/vhosts/xyz/webroot/sites/all/modules/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:15))
#9 /var/www/vhosts/xyz/webroot/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#10 /var/www/vhosts/xyz/webroot/sites/all/modules/civicrm/drupal/civicrm.module(445): CRM_Core_Invoke::invoke((Array:3))
#11 /var/www/vhosts/xyz/webroot/includes/menu.inc(527): civicrm_invoke("event", "register")
#12 /var/www/vhosts/xyz/webroot/index.php(21): menu_execute_active_handler()
#13 {main}