what to do in this error? fatal error go4shop

Fatal error: Uncaught Error: Call to undefined function session_register() in C:\xampp\htdocs\FinalsActivity1\checkout-pay.php:20 Stack trace: #0 {main} thrown in C:\xampp\htdocs\FinalsActivity1\checkout-pay.php on line 20



When i add to basket and proceed to payment this error pops up.

1 answer

  • answered 2018-11-08 06:21 ringunger

    This method is no longer available after php 5.4.0

    Alternatively use $_SESSION['SESS_CHANGEID'] = "Your value here"; Making sure you have a session_start() somewhere before in your code.