I have a plugin that was working until recently. One morning I woke up to my website being down.

I disabled the plugin and when I went to reactive it I had the following error:

Fatal error: Cannot re-assign auto-global variable _POST in ………./icalculator.php on line 213

Here’s the line 213 and a few following it. Any idea how to correct this?

function mm_iching_page($_POST) {
  $_SESSION['iching_result'] = serialize($_POST);
  foreach($_POST as $key => $value) {
    ${$key} = $value;
  }

Read more here: WordPress Cannot re-assign auto-global variable _POST


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , ,

Wordpress related questions and answers: