New update broke child theme

  • In Progress
    Posted in: Arcane  
  • Member
    the_one
    November 17, 2017 at 1:06 pm #106374

    Hello,

    The new update 1.7.1 broke my child theme. I saw that some modifications in the arcane functions.php are from the old get_template_directory() with the new parameter get_theme_file_path(). But when I try to active my child theme I have these errors below:

    PHP Warning: require_once(/public_html/wordpress/wp-content/themes/arcane-child/themeOptions/functions.php): failed to open stream: No such file or directory in /home/gather/public_html/gather/wp-content/themes/arcane/functions.php on line 9

    PHP Fatal error: require_once(): Failed opening required ‘/public_html/wordpress/wp-content/themes/arcane-child/themeOptions/functions.php’ in /home/gather/public_html/gather/wp-content/themes/arcane/functions.php on line 9

    PHP Fatal error: /public_html/wordpress/wp-content/themes/arcane/functions.php on line 9

    And line 9 in functions.php is this: require_once (get_theme_file_path() .’/themeOptions/functions.php’);

    Is there any solution with this problem? I don’t want to copy all unnecessary parent theme files in order for this to work.

    Thanks.

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.