Quantcast
Channel: Topic Tag: error | WordPress.org
Viewing all articles
Browse latest Browse all 31576

affairstoday on "Parse Error, cannot access site or dashboard."

$
0
0

Hi,

I am from Affairs Today (affairstoday.co.uk) and have a major problem that needs solving.

I tried adding some code into functions.php in order to disable magic quotes gpc (I had just installed the Ajax Events Calendar Plugin). After trying to update the code, everything crashed and I can no longer access my site or dashboard.

The following error message comes up:

Parse error: syntax error, unexpected '<' in /home/content/72/10512072/html/wp-content/themes/bayside/functions.php on line 632

The theme I use is Bayside.

I cannot access the dashboard so cannot edit the code or fix it. After installing the plugin, the site went down twice; but only for a minute so I don't know whether it's related.

I haven't got WordPress downloaded, I run everything from the online dashboard.

The piece of code that messed it up was:

<?php
if ( get_magic_quotes_gpc() ) {
$_POST = array_map( 'stripslashes_deep', $_POST );
$_GET = array_map( 'stripslashes_deep', $_GET );
$_COOKIE = array_map( 'stripslashes_deep', $_COOKIE );
$_REQUEST = array_map( 'stripslashes_deep', $_REQUEST );
}
?>

Please help me get the site back up, we run our business on it and need it back urgently.

Thank you,

Alex


Viewing all articles
Browse latest Browse all 31576

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>