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 warnings Failed to load "[email protected]" #599

Open
John-B opened this issue Jun 28, 2023 · 2 comments
Open

php warnings Failed to load "[email protected]" #599

John-B opened this issue Jun 28, 2023 · 2 comments

Comments

@John-B
Copy link

John-B commented Jun 28, 2023

After update, in Apache error logs a lot of warnings:

MixinLoader: Failed to load "[email protected]" for extension "uk.co.vedaconsulting.mosaico"
PHP Warning: Undefined array key "[email protected]" in ../wp-content/plugins/civicrm/civicrm/CRM/Extension/MixinLoader.php on line 74

This is PHP 8.1, Civi 5.62.1, Mosaico extensions 3.1

We send some emails with Mosaico, and some as Traditional.

EDIT -- probably this reflects CiviCRM's lack of PHP 8.1 support, though I have not confirmed that. I will leave the ticket here for reference.

@mlutfy
Copy link
Contributor

mlutfy commented Jul 5, 2023

I upgraded but haven't encountered this issue. Mixin warnings might happen when the core version is too old (and mixin was not included in the extension), or maybe an incorrect syntax, but it seems OK here.

Can you check that your CiviCRM install has this file :wp-content/plugins/civicrm/mixin/smarty-v2@1/mixin.php ?

@John-B
Copy link
Author

John-B commented Jul 5, 2023

The file is present and readable. The path is not wp-content/plugins/civicrm/mixin/smarty-v2@1/mixin.php
but wp-content/plugins/civicrm/civicrm/mixin/smarty-v2@1/mixin.php

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

No branches or pull requests

2 participants