Support » Theme: BlogMagazine » Not working a child theme

  • Resolved sergeyer

    (@sergeyer)


    Hello,

    Could you help me please.

    Parent theme: https://tg.wordpress.org/themes/blogmagazine/

    After creating a child theme and its activation, the site does not work.

    Warning: require_once(C:/OpenServer_5_2_9/OSPanel/domains/lawabc.ru/public_html/wp-content/themes/blogmagazine-child/inc/dglib/core/init.php): failed to open stream: No such file or directory in C:\OpenServer_5_2_9\OSPanel\domains\lawabc.ru\public_html\wp-content\themes\blogmagazine\inc\dglib\init.php on line 45

    Fatal error: require_once(): Failed opening required ‘C:/OpenServer_5_2_9/OSPanel/domains/lawabc.ru/public_html/wp-content/themes/blogmagazine-child/inc/dglib/core/init.php’ (include_path=’.;c:/openserver_5_2_9/ospanel/modules/php/PHP-7.2;c:/openserver_5_2_9/ospanel/modules/php/PHP-7.2/PEAR/pear’) in C:\OpenServer_5_2_9\OSPanel\domains\lawabc.ru\public_html\wp-content\themes\blogmagazine\inc\dglib\init.php on line 45

    • This topic was modified 2 months, 2 weeks ago by sergeyer.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Theme Author developerdinesh1

    (@developerdinesh1)

    Hello Sergeyer,
    To develop child theme first please go through blogmagazine >> inc >> dglib >> init.php and please remove this code $parent_file_path = trailingslashit( get_stylesheet_directory() ) . $dglib_path; and add it $parent_file_path = trailingslashit( get_template_directory() ) . $dglib_path;
    Now you can start developing your own child theme. Please let us know if you need any help from us. We are always ready to help you.
    I think this issue already solved from this link https://dinesh-ghimire.com.np/support-forums/topic/not-working-a-child-theme/
    If you have any further problem please get support through our support forum.
    Thank you

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.