Advertisement:

Author Topic: Error creating child theme - Bootsnap classic theme v2.8.2  (Read 552 times)

adleee84

  • Newbie
  • *
  • Posts: 21
Error creating child theme - Bootsnap classic theme v2.8.2
« on: October 11, 2016, 01:08:40 pm »
I try to create a child theme for bootsnap, however, this error message appear. Any idea why? This is my site unishop.com.my/o

Warning: require_once(/home2/unishopc/public_html/o/oc-content/themes/bootsnap_classic_child/includes/classes/class.BootsnapToolbar.php): failed to open stream: No such file or directory in /home2/unishopc/public_html/o/oc-content/themes/bootsnap_classic_child/functions.php on line 296

Fatal error: require_once(): Failed opening required '/home2/unishopc/public_html/o/oc-content/themes/bootsnap_classic_child/includes/classes/class.BootsnapToolbar.php' (include_path='/home2/unishopc/public_html/o/oc-includes/htmlpurifier:.:/opt/php56/lib/php') in /home2/unishopc/public_html/o/oc-content/themes/bootsnap_classic_child/functions.php on line 296

this is my index.php file in my child theme folder

<?php

/*
Theme Name: bootsnap_classic_child
Description: Bootsnap Classic Child
Version: 1.0
Author: Adli
Author URI: http://unishop.com.my
Parent Theme: BOOTSNAP CLASSIC THEME
*/
?>

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Error creating child theme - Bootsnap classic theme v2.8.2
« Reply #1 on: October 11, 2016, 08:11:46 pm »
Hi,

Child themes is a relatively recent feature and I don't think is totally mature... ??? You could make a copy of the class.BootsnapToolbar.php (with same path as on parent theme) inside the child theme and see if it works.

Regards

adleee84

  • Newbie
  • *
  • Posts: 21
Re: Error creating child theme - Bootsnap classic theme v2.8.2
« Reply #2 on: October 20, 2016, 05:37:49 pm »
Thanks teseo...i did that