*

questions

  • *****
  • 319 posts
Fatal error: Uncaught Error "Tatiana Child-Theme"
« on: February 01, 2023, 10:05:39 AM »
Dear all,

Trying to play with Tatiana CHILD theme on localhost as never used before and trying to find it's functionalities.

So after following this topic: https://osclasspoint.com/blog/osclass-create-child-theme-b21, and after finishing with the step b), I get the following error on localhost:

Fatal error: Uncaught Error: Call to undefined function tatiana_manage_cookies() in C:\xampp\htdocs\oc-content\themes\tatiana\head.php:88 Stack trace: #0 C:\xampp\htdocs\oc-includes\osclass\helpers\hDefines.php(355): require() #1 C:\xampp\htdocs\oc-content\themes\tatiana_child\main.php(4): osc_current_web_theme_path('head.php') #2 C:\xampp\htdocs\oc-includes\osclass\helpers\hDefines.php(348): require('C:\\xampp\\htdocs...') #3 C:\xampp\htdocs\oc-includes\osclass\controller\main.php(70): osc_current_web_theme_path('main.php') #4 C:\xampp\htdocs\oc-includes\osclass\controller\main.php(56): CWebMain->doView('main.php') #5 C:\xampp\htdocs\index.php(176): CWebMain->doModel() #6 {main} thrown in C:\xampp\htdocs\oc-content\themes\tatiana\head.php on line 88

Can someone help? Would like to make child-theme work, but.. having issues with this.

Thank you,

*

questions

  • *****
  • 319 posts
Re: Fatal error: Uncaught Error "Tatiana Child-Theme"
« Reply #1 on: February 01, 2023, 10:24:14 AM »
Found that if I do not modify the functions.php the CHILD-theme works fine. Would that be the answer?

Marked as best answer by questions on February 01, 2023, 11:41:28 AM
*

MB Themes

Re: Fatal error: Uncaught Error "Tatiana Child-Theme"
« Reply #2 on: February 01, 2023, 11:23:10 AM »
@questions
Do not modify.
In Osclass 8.1.0 you can define functions_custom.php and put there own functions, at same time not touch original one
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots