Please HELP.
I was trying to fix a problem with the posts border that was overlapping. I have no idea what I 've done but it said I had one problem so I tried to fix it and now it says I have another problem.
I have tried uploading the original function.php but all I get is this! My site is down and the dashboard says the same thing.
Fatal error: Call to undefined function wp_enqueue_script() in /home/stopsmok/public_html/wp-includes/functions.php on line 27
Can anyone help please?
This is what I was trying to fix before that.
Warning: Cannot modify header information - headers already sent by (output started at /home/stopsmok/public_html/wp-content/themes/QuadroTheme/Quadro/functions.php:288) in /home/stopsmok/public_html/wp-admin/theme-editor.php on line 69
can anyone please help me?
Thank you
Thanks for answering esmi
I took your advice and I at least made some progress. (I think!?!)
I now get this
Parse error: syntax error, unexpected ';' in /home/stopsmok/public_html/wp-content/themes/QuadroTheme/Quadro/functions.php on line 3
This is the problem I had whilst trying to fix another problem. Hence the state i'm in...causing problems whilst trying to fix problems. :(
Please help
Can't you just reupload the original theme function.php file and start from there?
Thanks for you help, I have uploaded the original function.php and now have this warning. My site isn't loading properly.
Warning: Invalid argument supplied for foreach() in /home/stopsmok/public_html/wp-content/themes/QuadroTheme/Quadro/home.php on line 18
This is the code.
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } }
?>
Can someone offer some advice please?
Have you tried contacting the theme's creator? And if you open that file in a text editor (which hopefully has a line counter on the side), what exactly is on line 18? Maybe you can comment that out. And the way to comment out code in php is to put this:
// before each line you want to comment out.