Syntax error
-
Ok so getting white screen of death, ran debugger and got following syntax error:
Parse error: syntax error, unexpected ‘bfa_ata4’ (T_STRING), expecting ‘,’ or ‘;’ in D:homesitewwwrootwp-contentthemesatahualpafunctions.php on line 273
Line 273 is as follows:
if (delete_option(‘bfa_ata4’)) echo ‘<span style=”color:green;font-weight:bold;”>Successfully deleted option ‘bfa_ata4′ …</span>’;
whole function is:
function bfa_delete_bfa_ata4() {
check_ajax_referer( “delete_bfa_ata4” );
if (delete_option(‘bfa_ata4’)) echo ‘<span style=”color:green;font-weight:bold;”>Successfully deleted option ‘bfa_ata4′ …</span>’;
else echo ‘<span style=”color:green;font-weight:bold;”>Something went wrong…</span>’;
die();
}Have deactivated all plugins but does not make a difference
-
Hi there,
please ask your question in the WordPress.ORG forum.
This forum is only for WordPress.COM users.
- The topic ‘Syntax error’ is closed to new replies.