Questions tagged [errorhandling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
15 views

WP Fatal Error UserDashBoard.php:80 for anonymous users

My Wordpress \ConfigAndLog\Civicrm.xx...xx.log is full of this error. 100s of MB of them. I understand that this is due to anonymous users not passing a valid contactID to the UserDashBoard. This ...
user avatar
  • 21
0 votes
1 answer
30 views

Unable to hide PHP Intl error from front end

On my Wordpress site CiviCrm events pages are displaying the following message on the front end: Missing PHP INTL extension As this system does not include the PHP intl extension, CiviCRM has fallen ...
user avatar
  • 83
0 votes
0 answers
48 views

DB Error: no such field in pear-core-minimal after Civicrm Migration

After civicrm migration following https://docs.civicrm.org/sysadmin/en/latest/misc/switch-servers/ with Akeeba on Wordpress, civicrm breaks wordpress, the Apache error log says: see below. Can anybody ...
user avatar
  • 71
1 vote
1 answer
79 views

Utterly useless and unhelpful error message on attempting upgrade to 5.33.1

I have a Wordpress dev site that we want to bring live with lots of new exciting content. The CiviCRM is out of date so I make a staging site and attempt to upgrade that to 5.33.1 from 5.32.2 so ...
user avatar
2 votes
2 answers
82 views

Warning: Disabled/Deleted fields on Smart Groups

After upgrading to CiviCRM 5.27 (and now, to 5.28) on Drupal 7, I see this warning message. As you can see, GROUP is listed as "-" (minus). When I try to click on settings (Gear icon), it ...
user avatar
  • 992
0 votes
1 answer
80 views

Is there a specific Exception for the API4 like CiviCRM_API3_Exception?

There is a specific Exception for the CiviCRM API3 called CiviCRM_API3_Exception. Is there a similar specific Exception for API4 or do I just catch the standard Exception?
user avatar
2 votes
0 answers
29 views

Errors not showing against custom fields using hook validateForm()

Using this code if ($fields["custom_111_79"] == 0) $errors["custom_111_79"] = "Please enter number of physio sessions"; The evaluation is done correctly, but the error message does not appear ...
user avatar
2 votes
1 answer
26 views

How do I call the Fatal Error Handler for extern/url.php?

I noticed my Fatal Error Handler wasn't being called when CiviCRM had problems processing trackable URLs in a CiviMail. My answer will tell you how to do this.
user avatar
  • 997
5 votes
1 answer
75 views

Deadlocked queries cause an instant error for end-users, but are retried in other circumstances

We have a lot of smart groups, and consequently a lot of deadlocks. There's already code in Civi that detects deadlock Exceptions, and then retries the query a few times. This is really helpful - I ...
user avatar
  • 1,960