mlutfy / reporterror

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

Deprecated: Defaults should come from metadata #27

Closed magnolia61 closed 5 years ago

magnolia61 commented 6 years ago

Hi Mathieu,

Just for your info (because I think nothing is broken) I got this message in our drupal log: Deprecated: Group='ReportError Extension'. Name='noreferer_sendreport_event'. Defaults should come from metadata

We are using php 7.0.27

mlutfy commented 6 years ago

Are you using the latest release, or the master branch? It should already be fixed on the master branch.

magnolia61 commented 6 years ago

Hi Mathieu, The notices I mentioned above are gone in the current master branch. It took me some time to figure out I could only have it work with outcommenting: require_once(DIR . '/vendor/autoload.php'); in reporterror.php ;-) There is s new notice though:

Notice: Undefined index: CiviCRM Preferences in postProcess() (line 162 of /var/www/vhosts/xyz/webroot/sites/all/modules/civicrm_extensions/ca.bidon.reporterror/CRM/ReportError/Admin/Form/Settings.php).

mlutfy commented 5 years ago

I'm pretty sure this is fixed. The autoload issue is tracked in #30.