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

Error message on first install: Deprecated: Required parameter $template_id follows optional parameter $send #686

Open
Luensche opened this issue Oct 12, 2023 · 6 comments

Comments

@Luensche
Copy link

I am trying to install the extension and I get the following error message:

Deprecated: Required parameter $template_id follows optional parameter $send in /var/www/html/wp-content/uploads/civicrm/ext/org.project60.sepa/CRM/Sepa/Page/SepaMandatePdf.php on line 153 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/uploads/civicrm/ext/org.project60.sepa/CRM/Sepa/Page/SepaMandatePdf.php:153) in /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/Base.php on line 898
CiviCRM 5.65.2
CiviSEPA 1.9.1

@Luensche Luensche changed the title Error message on first install Error message on first install: Deprecated: Required parameter $template_id follows optional parameter $send Oct 12, 2023
@xavi-xaloc
Copy link

xavi-xaloc commented Mar 6, 2024

I'm also getting an error on first install that I assume is basically the same:
Deprecated function: Optional parameter $send declared before required parameter $template_id is implicitly treated as a required parameter in require_once() (line 166 of vendor/civicrm/civicrm-core/CRM/Core/ClassLoader.php).
Drupal 10
CiviCRM 5.69.5
CiviSEPA 1.9.1

@bjendres
Copy link
Member

bjendres commented Mar 6, 2024

Thanks for reporting. What's your PHP version?

@bjendres
Copy link
Member

bjendres commented Mar 6, 2024

Also: does it still work, or is there some sort of functional failure?

@xavi-xaloc
Copy link

No, it does'nt work, I get the message DB Error: no such field and I'm not able to create a mandate.
We are using PHP 8.1.8

@peth-systopia
Copy link
Contributor

@xavi-xaloc At the moment, we are not able to investigate this without funding, I'm afraid. Let me know if you would like to commission us with a bug fix.

@peth-systopia
Copy link
Contributor

(SYSTOPIA is maintaining this extension.)

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

No branches or pull requests

4 participants