Duplicate declaration of static variable $fields MailingEventForward.php
Overview
PHP Fatal error: Duplicate declaration of static variable $fields in ..../CRM/Mailing/Event/BAO/MailingEventForward.php on line 236
Reproduction steps
- Change site to php 8.3
- Login to site
- Got an error "PHP Fatal error: Duplicate declaration of static variable $fields in .../wp-content/plugins/civicrm/civicrm/CRM/Mailing/Event/BAO/MailingEventForward.php on line 236".
Current behaviour
Expected behaviour
no error :)
Environment information
- Browser: Chrome Version 120.0.6099.217 (Official Build) (64-bit)
- CiviCRM: CiviCRM 5.69.1 and latest on git
- PHP: 8.3
- CMS: WordPress 6.4.2
- Database: mysql
- Web Server: _Apache
Comments
Commented out line 236 to fix.