-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 8.x compatibility #34
Comments
Hi can confirm from further testing in Wordpress 6.4.1 and CiviCRM 5.67.1 using MySQL8 for both Wp and CiviCRM that after modifying line 155 as above the following warnings are generated. The extension installs, however, the Custom Search option is no longer available (might be due to either bad install due to warnings or the use of Searchkit now). I could run the Calculate Scheduled Job, however it displays the same warnings as below. The log file indicates it worked successfully though. Checked the yahrzeit hebrew dates on the deceased person's record and they had been updated correctly. Using Searchkit I could design a yahrzeit report but it cannot show all details as they are not stored on the deceased person's record. Investigating this further to see if another extension might help me access the yahrzeit details that this extension generates. Warning: Undefined array key 0 in /home/cremorne/www/test/wp-content/uploads/civicrm/ext/com.fountaintribe.hebrewcalendarhelper-4.0.6/api/v3/AllHebrewDates/Calculate.php on line 888 Warning: Trying to access array offset on value of type null in /home/cremorne/www/test/wp-content/uploads/civicrm/ext/com.fountaintribe.hebrewcalendarhelper-4.0.6/api/v3/AllHebrewDates/Calculate.php on line 888 Warning: Undefined array key 0 in /home/cremorne/www/test/wp-content/uploads/civicrm/ext/com.fountaintribe.hebrewcalendarhelper-4.0.6/api/v3/AllHebrewDates/Calculate.php on line 930 Warning: Trying to access array offset on value of type null in /home/cremorne/www/test/wp-content/uploads/civicrm/ext/com.fountaintribe.hebrewcalendarhelper-4.0.6/api/v3/AllHebrewDates/Calculate.php on line 930 Warning: Undefined array key "domain_address" in /home/cremorne/www/test/wp-content/uploads/civicrm/ext/com.fountaintribe.hebrewcalendarhelper-4.0.6/utils/HebrewCalendar.php on line 298 Warning: Undefined array key "domain_address" in /home/cremorne/www/test/wp-content/uploads/civicrm/ext/com.fountaintribe.hebrewcalendarhelper-4.0.6/utils/HebrewCalendar.php on line 298 Warning: Undefined array key "domain_address" in /home/cremorne/www/test/wp-content/uploads/civicrm/ext/com.fountaintribe.hebrewcalendarhelper-4.0.6/utils/HebrewCalendar.php on line 298 Warning: Undefined array key "domain_address" in /home/cremorne/www/test/wp-content/uploads/civicrm/ext/com.fountaintribe.hebrewcalendarhelper-4.0.6/utils/HebrewCalendar.php on line 298 Warning: Undefined array key "domain_address" in /home/cremorne/www/test/wp-content/uploads/civicrm/ext/com.fountaintribe.hebrewcalendarhelper-4.0.6/utils/HebrewCalendar.php on line 298 Warning: Undefined array key "domain_address" in /home/cremorne/www/test/wp-content/uploads/civicrm/ext/com.fountaintribe.hebrewcalendarhelper-4.0.6/utils/HebrewCalendar.php on line 298 Warning: Undefined array key "domain_address" in /home/cremorne/www/test/wp-content/uploads/civicrm/ext/com.fountaintribe.hebrewcalendarhelper-4.0.6/utils/HebrewCalendar.php on line 298 Warning: Undefined array key "domain_address" in /home/cremorne/www/test/wp-content/uploads/civicrm/ext/com.fountaintribe.hebrewcalendarhelper-4.0.6/utils/HebrewCalendar.php on line 298 Warning: Undefined array key "domain_address" in /home/cremorne/www/test/wp-content/uploads/civicrm/ext/com.fountaintribe.hebrewcalendarhelper-4.0.6/utils/HebrewCalendar.php on line 298 Warning: Cannot modify header information - headers already sent by (output started at /home/cremorne/www/test/wp-content/uploads/civicrm/ext/com.fountaintribe.hebrewcalendarhelper-4.0.6/api/v3/AllHebrewDates/Calculate.php:888) in /home/cremorne/www/test/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/Base.php on line 955 Any help would be greatly appreciated! |
Currently, the extension is not working with PHP 8.x
As a workaround, you can patch the line 155 in /html/sites/default/files/civicrm/ext/com.fountaintribe.hebrewcalendarhelper/hebrewcalendarhelper.civix.php (replace curly braces {} by [] ).
This would be done automatically, if the extension was regenerate using civix (which only the maintainer can do...).
However, I was not able to test the extension completely to make sure everything still works with PHP 8.x
The text was updated successfully, but these errors were encountered: