I have tried to find a possible solution to my specific problem but i cant find any that works.
The problem occurs when i try to add a new order or edit an existing one, the first 2 tabs works fine but when i press proceed from the third tab (payment details) to go to forth (shipping details) i get "syntax error: unexpected token < in JSON at position 0."
The PHP error log states:
Code: Select all
[15-Aug-2019 09:11:40 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function ModelExtensionTotalSubTotal::getTotal(), 0 passed in C:\wamp64\www\snyggtljud_v3\vqmod\vqcache\vq2-C:_wamp64_storage_modification_system_engine_loader.php on line 251 and exactly 1 expected in C:\wamp64\www\snyggtljud_v3\vqmod\vqcache\vq2-catalog_model_extension_total_sub_total.php:3
Stack trace:
#0 C:\wamp64\www\snyggtljud_v3\vqmod\vqcache\vq2-C:_wamp64_storage_modification_system_engine_loader.php(251): ModelExtensionTotalSubTotal->getTotal()
#1 C:\wamp64\www\snyggtljud_v3\catalog\controller\api\payment.php(181): Loader->{closure}(Array, Array, 0)
#2 C:\wamp64\www\snyggtljud_v3\vqmod\vqcache\vq2-C:_wamp64_storage_modification_system_engine_action.php(79): ControllerApiPayment->methods()
#3 C:\wamp64\www\snyggtljud_v3\catalog\controller\startup\router.php(25): Action->execute(Object(Registry))
#4 C:\wamp64\www\snyggtljud_v3\vqmod\vqcache\vq2-C:_wamp64_storage_modification_system_engine_action.php(79): ControllerStartupRouter->index()
#5 C:\wamp64\www in C:\wamp64\www\snyggtljud_v3\vqmod\vqcache\vq2-catalog_model_extension_total_sub_total.php on line 3
I have created a new API key and entered my ip, then chose the new API in settings.
Based on my error log and taken steps, what do you think is the cause of this and what can i do to fix it.
Thanks in advance!