Problems with Child Theme

Multipurpose WordPress Theme Forum Support
GK User
Sun Jun 21, 2015 12:27 pm
Hello guys,

Everytime I activate the child theme I got a blank page in the backend and the next message in the frontend:

Fatal error: Cannot redeclare quark_wc_simple_product_additional() (previously declared in /homepages/4/d432037634/htdocs/clientes/ilbl/wp-content/themes/Quark-Ecommerce-Child/functions.php:343) in /homepages/4/d432037634/htdocs/clientes/ilbl/wp-content/themes/Quark/functions.php on line 718

I tried it twice with same results. You know what's going on?

Thank you.
User avatar
Fresh Boarder

GK User
Mon Jun 22, 2015 8:22 am
Hi,

Please try to edit your Quark-Ecommerce-Child/functions.php file and add this line:
Code: Select all
if ( ! function_exists( 'quark_wc_simple_product_additional' ) ) :

before:
Code: Select all
function quark_wc_simple_product_additional() {


and this one:
Code: Select all
endif;

under the function (line 362), before "// Display 6 products per page." comment.
User avatar
Moderator

GK User
Mon Jun 22, 2015 5:14 pm
Hello,

Still getting the same error. Now in the frontend appears the next sentence:

Fatal error: Cannot redeclare quark_wc_simple_product_additional() (previously declared in /homepages/4/d432037634/htdocs/clientes/ilbl/wp-content/themes/Quark-Ecommerce-Child/functions.php:344) in /homepages/4/d432037634/htdocs/clientes/ilbl/wp-content/themes/Quark/functions.php on line 718


If helps, I first installed the quickstart theme option and then install and activate the child theme, and then I get the error.
User avatar
Fresh Boarder

GK User
Tue Jun 23, 2015 8:08 am
Could you send me a private message with backend and FTP access to your website? Then I'll be able to check the issue exaclty.
User avatar
Moderator


cron