Okay
  Public Ticket #150908
Error message when using a child theme
Closed

Comments

  • Mario started the conversation

    Hey guys,

    I hope this is the right place to put this: 
    When I use a child theme for Powermag, I get this error in debug log: 

    failed to open stream: No such file or directory on line 136 in file /root-path/wp-content/themes/powermag/functions.php

    So I changed that line from:

    include get_stylesheet_directory() . '/admin/meta-box-config.php'; 

    to

    include get_template_directory() . '/admin/meta-box-config.php';

    And the error disappeared :) 
    Oh - and thank you for this great theme!

    Best regards,
    Mario.

  •  93
    djwd replied

    Hi there,

    definitely the right place..thanks for the heads up!

    djwd

    Regards
    djwd