Skip to content
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.1] Deprecations @ Drupal module page #68

Open
jofranz opened this issue Oct 23, 2023 · 4 comments
Open

[PHP 8.1] Deprecations @ Drupal module page #68

jofranz opened this issue Oct 23, 2023 · 4 comments
Labels

Comments

@jofranz
Copy link

jofranz commented Oct 23, 2023

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
Copy link
Collaborator

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

@jensschuppe
Copy link
Collaborator

@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
Copy link
Author

jofranz commented Jan 8, 2024

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
Copy link
Author

jofranz commented Feb 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants