I'm trying to transfer my clients new site to their domain. While uploading the theme I accidentally went to another page while it was updating plug-in translations, now I get this error when activating the theme:
Fatal error: Call to undefined function wp_add_inline_script() in /home/pxxr228380/domains/braincaps.nl/public_html/wp-content/themes/mrbara/inc/frontend/header.php on line 49
Reuploading the theme doesn't fix it and the original site still works fine. How do I fix this? The line in question is: wp_add_inline_script( 'mrbara', mrbara_footer_scripts() );
Note: I'm installing it on an existing Wordpress installation with installed plug-ins, could it be a plug-in causing this?