Questions tagged [php8]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
30 views

fatal error "unconstructed IntlDateFormatter" after upgrade to php 8.1

On submitted contribution pages, I get a fatal php error "unconstructed IntlDateFormatter." At first I thought the answer was a simple case of a missing php-intl extension. However, it is ...
kapn's user avatar
  • 791
0 votes
1 answer
37 views

"Warning: Undefined array key" messages on Membership form after upgrade to CiviCRM 5.66.0

We're running CiviCRM 5.66, WordPress 6.3.22, and PHP 8.1. We had our hosting service (CiviHosting) upgrade us to CiviCRM 5.66.0 on Sunday. We last upgraded about a year ago. Yesterday (Wednesday) a ...
Brian Downey's user avatar
1 vote
1 answer
25 views

Search Builder - Undefined array key 'contact_is_deleted

When I run a search using Search Builder i get the error above - also occure when editing a smart group criteria. Using Advanced search does work. The PHP is Selector.tpl.php on lines 113 & 114 ...
Peter Turner's user avatar
0 votes
0 answers
20 views

civiEvent calendar not showing details after php 8.1 upgrade

Running civiCRM 5.66.0 on WP 6.3.2 upgraded to php 8.1 over the weekend. The internal civicEvent calendar no longer displays event titles, or previous events at all. We are also using the Event ...
John Bradford's user avatar
0 votes
1 answer
46 views

guzzle and symfony errors - WordPress

I've been getting a persistent guzzle error since Civi version 5.5x, and I now realise there's also some weird permission error and am wondering if this is related. I'm on the latest versions of ...
Hugh's user avatar
  • 272
0 votes
0 answers
73 views

Undefined array key "localTasks"

In some CiviCRM settings pages I get Warning: Undefined array key "localTasks" in /var/www/events/media/civicrm/templates_c/sv_SE/%%EA/EAA/EAA96A89%%joomla.tpl.php on line 56 I have cleared ...
thoni56's user avatar
  • 1,231
1 vote
2 answers
96 views

What's the most stable CMS platform for running CiviCRM on PHP8?

I really like CiviCRM... In many ways its kind of overkill for our small NFP (soon to be RC), but it has enough features to make it a better option than having some ERP built up from scratch. The ...
esl2248's user avatar
  • 11
0 votes
0 answers
26 views

CiviCRM array_merge() error... php8?

Some serious wierdness here... trying to get CiviCRM to behave itself! it complains here and there Error array_merge(): Argument #1 must be of type array, null given which seems to be PHP8 related. ...
rceditor's user avatar
0 votes
0 answers
63 views

Problems upgrading to Joomla 4 and php 8

I’m upgrading our website to Joomla 4 and php 8, using Civi 5.53.0, and having some issues. I’m putting these in the same question in case they are related. I run into "Network Error: Unable to ...
Phil Morice Brubaker's user avatar
0 votes
1 answer
80 views

Cron: cli.php does not work in the latest Civicrm

This happens on Civicrm for Joomla. It prevents both upgrading to Php 8 and upgrading to latest Civicrm, as doing any of these stops the cron job. This is what I see with Civicrm 5.49.3: $ php74 ...
Francesco Potortì's user avatar
2 votes
1 answer
63 views

PHP Cannot Find File From Vendor Directory

After upgrading to PHP 8 (8.0.25) my CiviCRM install fails to be able to find /var/www/user/web/vendor/civicrm/civicrm-core/install/langs.php. This happens whenever I try and go to a /admin* page in ...
Drupal Learner's user avatar
4 votes
1 answer
262 views

Problems after updating to PHP 8.1

after updating to PHP 8.1, I have a punch of warning, like: Warning: Undefined array key "pledgeBlock" in /.../wp-content/uploads/civicrm/templates_c/de_DE/%%3D/3D1/3D13F2BA%%Main.tpl.php on ...
Charly's user avatar
  • 41
2 votes
1 answer
20 views

Way to reset search preferences, display preferences when admin page inaccessible?

In Refrence to my related issue how do I re-write the default preferences back to what they were when first CiviCRM was installed? Admin screen no longer accessible after search preferences changes.. ...
Eldon Leeburstroghm Allison II's user avatar
2 votes
2 answers
608 views

Is -TypeError: array_flip(): Argument #1 must be of type array, string given- a php 8, Drupal 9, civicrm 5.55.2 or all combined Issue?

PHP 8 TypeError I encountered when making adjustments to the search preferences, unchecking not needed fields and checking new custom fields. no autocomplete drop down anymore and when I TRY to go ...
Eldon Leeburstroghm Allison II's user avatar
5 votes
1 answer
368 views

CiviCRM support for PHP 8.1?

Drupal 9 has now deprecated PHP 7.4. CiviCRM gives lots of deprecated and warning messages under PHP 8.1. It is possible to suppress them by adding // PHP 8.1 generates lots of warnings that 7.4 does ...
Stephen Palmstrom's user avatar
2 votes
1 answer
241 views

Smarty templating and PHP8 warnings

Wondering if anyone had any ideas about modifiying the Smarty so that it automatically handles null values being passed in as variables in the templates? These notices being elevated to Warnings in ...
Jonny Toomey's user avatar
0 votes
1 answer
95 views

I am getting the error '/packages/DB/common.php on line 265' when implementing PHP 8.0

I want to switch to 8.0 as PHP 7.4 is now giving warnings. But, I am getting the error 'com_civicrm/civicrm/packages/DB/common.php on line 265' when implementing PHP 8.0. Code written in the relevant ...
Fatih ATEŞ's user avatar