Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I get a Fatal error: Cannot redeclare phptemplate_settings() when clicking the configure link for this theme using the latest V3.0 alpha 1 version... any ideas?
Full error:
Fatal error: Cannot redeclare phptemplate_settings() (previously declared in /var/www//www/sites/all/themes/acquia_marina/theme-settings.php:12) in /var/www//www/sites/all/themes/fusion/fusion_core/theme-settings.php on line 372
Cheers
Steve
Comments
Comment #1
jeremycaldwell CreditAttribution: jeremycaldwell commentedHi kiwi_steve, just to be sure can you delete your "acquia_marina" folder from your /themes directory and then download and install the 3.x version again? My guess is there were existing theme files within that directly and the new ones are having issues with that. Also, might need to clear your site's cache on the Performance page on your Drupal site.
Comment #2
robertgarrigos CreditAttribution: robertgarrigos commentedI did have this same error and I fixed it deleting the whole theme folder and installing it again.
Comment #4
kpv_dnepr CreditAttribution: kpv_dnepr commentedI have this problem too, went back to version 2.0 and everything worked
Comment #5
sheena_d CreditAttribution: sheena_d commentedThere is no theme-settings.php file that comes packaged in Marina. If you copied the theme-settings.php file from Fusion Core to make customizations, you need to re-name all of the functions in that file, otherwise you will get these duplicate function errors.