I have designed a new joomla3 website. while developing on my computer it was working fine. Once I had setup this on shared hosting using akeeba backup and kickstart restore tools. Following error is reported:
Fatal error: Invalid opcode 153/1/8. in /home/myinnori/public_html/tawasr/libraries/joomla/filter/input.php on line 702
Can any one please help me out to solve the issue.
I have tried by enabling each set of variables in ".htaccess" file from "public_html" folder of my hosting account.
Update:
line 701 // Convert decimal
line 702 $source = preg_replace_callback('/&#(\d+);/m', function($m)
line 703 {
line 704 return utf8_encode(chr($m[1]));
line 705 }, $source
line 706 );
There was an Issue regarding the inline function of php. php on my server was not supporting inline function that had a call back. I have used preg_replace() instead of preg_replace_callback() and the issue was solved. Use the following code, just keep the second parameter as empty string like below code
$source = preg_replace('/&#x([a-f0-9]+);/mi', "", $source
);