CiviMRF / cmrf_core

Drupal Core for CMRF
GNU Affero General Public License v3.0
2 stars 6 forks source link

[PHP 8.1] Deprecations @ Drupal module page #68

Open jofranz opened 1 year ago

jofranz commented 1 year ago

Visiting

.../admin/modules

Seeing

Warning: Undefined array key "produktivumgebung" in Drupal\cmrf_core\Core->getConnectionProfile() (line 32 of modules/contrib/cmrf_core/src/Core.php).
Warning: Trying to access array offset on value of type null in CMRF\Connection\Curl->executeCall() (line 41 of .../httpdocs/dev/drupal/vendor/civimrf/cmrf_abstract_core/CMRF/Connection/Curl.php).
Warning: Trying to access array offset on value of type null in CMRF\Connection\Curl->executeCall() (line 41 of .../httpdocs/dev/drupal/vendor/civimrf/cmrf_abstract_core/CMRF/Connection/Curl.php).
Warning: Trying to access array offset on value of type null in CMRF\Connection\Curl->executeCall() (line 47 of .../httpdocs/dev/drupal/vendor/civimrf/cmrf_abstract_core/CMRF/Connection/Curl.php).
jensschuppe commented 1 year ago

This seems to be happening when there is inconsistent configuration of CiviMRF connectors, referencing a CiviMRF profile that does not exist (anymore).

jensschuppe commented 1 year ago

@jofranz Could you try whether #69 does anything useful in that case? It will throw an exception instead. Maybe there's more to be done for preventing inconsistent configuration in the first place.

jofranz commented 10 months ago

I could but I'm unaware how to install a module from a branch. Could you please give me a hint?

Currently happening with our internal civicrm

jofranz commented 9 months ago

@jensschuppe Makes sense. Let's try it in one of the upcoming beta releases.