wordpress - Fatal error: Can't use function return value in PHP Code -


im getting error code, , can't understand why. code hasn't been changed:

fatal error: can't use function return value in write context in /var/www/vhosts[...]

code:

if ($this->edit_mode) {             // check if submission genuine , not trying change entry             $id = $form_data['id'];             if (!is_numeric($id) || !isset($submissions[$id]) || $submissions[$id]['hash'] != $form_data['hash']) {                 echo '<p class="attention">'.sprintf(__('you have been submit form of inconsistent state.', self::textdomain)).'</p>'."\n";                 return false;             }             // preserve of existing data not exposed in edit form             if (isset($submissions[$id]['note']))                 $form_data['note'] = $submissions[$id]['note'];             $form_data['paid'] = $submissions[$id]['paid'];             $form_data['date'] = $submissions[$id]['date'];             $form_data['edit_date'] = date("y-m-d h:i:s"); 

i can't figure out problem is! appreciate help. guys!


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -