( ! ) Fatal error: Uncaught TypeError: Argument 1 passed to Source\Facades\PassportCart::add() must be an instance of Source\Models\Passport\Product, null given, called in /efs/var/www/html/source/Controllers/Passport.php on line 84 and defined in /efs/var/www/html/source/Facades/PassportCart.php on line 43 |
( ! ) TypeError: Argument 1 passed to Source\Facades\PassportCart::add() must be an instance of Source\Models\Passport\Product, null given, called in /efs/var/www/html/source/Controllers/Passport.php on line 84 in /efs/var/www/html/source/Facades/PassportCart.php on line 43 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0000 | 362160 | {main}( ) | .../index.php:0 |
2 | 0.0123 | 988496 | CoffeeCode\Router\Dispatch->dispatch( ) | .../index.php:66 |
3 | 0.0129 | 988584 | CoffeeCode\Router\Dispatch->execute( ) | .../Dispatch.php:123 |
4 | 0.0324 | 1083728 | Source\Controllers\Passport->cart( $data = [] ) | .../Dispatch.php:143 |
5 | 0.0536 | 1087280 | Source\Facades\PassportCart->add( $product = NULL ) | .../Passport.php:84 |