Site logo

Archived topic

Can not move functions.php to my child theme after update to Version 1.3.48

1 reply · Started by Alexander on June 12, 2017

Viewing posts 1–2 of 2

I can not move the functions.php to my child theme any more, even if I simply copy the original functions.php - without changes - from the update 1.3.48 to my child theme.

I get the following error: Fatal error: Cannot redeclare generate_setup_woocommerce() (previously declared in C:\xampp\htdocs\dgn1\wp-content\themes\generatepress\inc\plugin-compat.php:13) in C:\xampp\htdocs\dgn1\wp-content\themes\generatepress\inc\plugin-compat.php on line 27

I do not use WooCommerce at all but i need to have some changes in my functions.php.

What can I do?

This archived topic is closed to new replies.