I was trying to move my website to my new server. But after I moved the code and wanted to run the website, I got this php error:
PHP Parse error: syntax error, unexpected ''] = "'' (T_CONSTANT_ENCAPSED_STRING), expecting ']' in /home/mywebsite/public_html/includes/functions/functions_general.php on line 1230
Here is the code on line 1230:
$trans_table['''] = "'";
The strange thing is that this error was never reported on my old server. Could someone help?
Thank you.