Fatal Error in commerce_registration_defer_form_submit on PHP 7.1

Created on 17 January 2019, over 6 years ago
Updated 28 February 2025, about 2 months ago

After upgrading to PHP 7.1 this module breaks with the following error:

PHP Fatal error: Only variables can be passed by reference in /var/www/sites/default/modules/contrib/commerce_registration/modules/commerce_registration_defer/commerce_registration_defer.module on line 215

I have developed a patch to rectify the issue (by passing a variable instead of a return value from clone()).

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada nerdcore

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024