- This topic has 5 replies, 2 voices, and was last updated 9 years, 8 months ago by Theme Horse Support Team. 
- 
		AuthorPosts
- 
		
			
				
March 2, 2016 at 8:05 am #43071chriswieser ParticipantHi folks, i have got an issue right now. 
 I played with my functions.php file and broke it.So as next step i took the original from the theme and replaced mine with it. 
 Still does not work.
 I got this error: “Fatal error: Call to undefined function add_action() in /var/www/intertechno.at/wp-includes/functions.php on line 14”I am using a child-theme. url is intertechno.widder.at thanks in advance and best regards chris EDIT: previous functions.php content from backendview: <?php 
 //
 // Recommended way to include parent theme styles.
 // (Please see http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme)
 //
 add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
 function theme_enqueue_styles() {
 wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
 wp_enqueue_style( ‘child-style’,
 get_stylesheet_directory_uri() . ‘/style.css’,
 array(‘parent-style’)
 );
 }
 //
 // Your code goes below
 //March 2, 2016 at 10:21 am #43074Theme Horse Support Team KeymasterHi chriswieser, Did you made code customization? If yes then First install the fresh copy of interface-pro theme before doing it make a backup of it. There some thing might went wrong. After solving the issues on parent then then only make modification on the child theme you want. Please don’t make any changes in the parent theme because while updating to new version your customized code will be lost. Thank you! March 2, 2016 at 10:25 am #43075chriswieser ParticipantHi, thanks alot for your reply. Yeah i tried to customize the code by adding a line. Will there be any dataloss if i reinstall the theme? 
 The problem is i cant get into my backend.thanks and best regards chris March 2, 2016 at 11:24 am #43081Theme Horse Support Team KeymasterHi chriswieser, Yes it you haven’t made a child theme and made direct changes in the code then your customized code will be lost. So better make your backup first from you ftp if you are not getting access to backend. Thank you! March 2, 2016 at 11:33 am #43084chriswieser Participantthanks, got it solved through replace the functions.php files! March 3, 2016 at 8:13 am #43099Theme Horse Support Team KeymasterThat’s great chriswieser Thank you! 
- 
		AuthorPosts
- You must be logged in to reply to this topic.
