You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 0 passed in /function/utilities.php on line 209 and exactly 2 expected in /routes.php:170 Stack trace: #0 /function/utilities.php(209): {closure}() #1 /includes.php(45): require_once('/Applications/M...') #3 /index.php(14): require('/Applications/M...') #4 {main} thrown in /routes.php on line 170
The text was updated successfully, but these errors were encountered:
Die Route in der routes.php sollte wie folgt aussehen.
router('/category/delete/',function() use($userId,$baseUrl,$isEmail,$countCartItems){
logger('INFO','Wir sind auf der URL /category/delete');
require_once ACTIONS_DIR . '/category.delete.real.php';
logEnd();
},'POST');
Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 0 passed in /function/utilities.php on line 209 and exactly 2 expected in /routes.php:170 Stack trace: #0 /function/utilities.php(209): {closure}() #1 /includes.php(45): require_once('/Applications/M...') #3 /index.php(14): require('/Applications/M...') #4 {main} thrown in /routes.php on line 170
The text was updated successfully, but these errors were encountered: