getting "Fatal Error" when any function is call by $cart in Prestashop 1.7 - prestashop

I'm facing an issue, where I'm getting 'Fatal error' after adding product.
When I call any cart method, it leads to fatal error.
PS: 1.7.8.2
https://beta.claap.io/sendinblue/fatal-error-c-3YfMIiN6mG-AL7OcMGtoJMg

As you can see from the error StackTrace , issue is caused by the "sendinblue" module, that executes some code in the "actionCartSave" hook.
Try disabling the module in first place to see if problem goes away,
then you need to check the module code (maybe there's an updated version?) to see where/when the fatal error arises.

Related

Technical Error: Details: Error Thrown: [Object Object] Text Status: Parsererror in Prestashop

I have an error when I put more than 12 or so ranges to my carriers. I have one carrier with 10 ranges and it works just fine. The problem comes when I try to put more ranges. I tryied to delete the carrier and start over but it keeps showing the same error again and again.
I don't know if someone has found the solution for this problem or knows anything that could help.
My version of Prestashop is 1.7.7.5
Thank you so much!

Inline worker is not supported

I am new to Vue.js and originally to testing.
so I am trying to write test for my component but this error occurs and I don't know were this error raises from and how to resolve it.
console error image
and this is the test code that I'm trying to execute.
test file

face Uncaught Syntax Error when check (add try-catch wrapping)

i face this error
The error I receive
here the file : https://igrafix.ir/wp-content/cache/autoptimize/autoptimize_c709febde8a57bd03504ae5fe6f38a57.php
when this option in photo Be checked above error happening. (site performance Improves 60%) But I encountered some problems ! like (Header menu doesn't load)
i tried : de active all plugins but doesn't work !?
solved by adding this Excluded JavaScript Code
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js

Prestashop PHP Smarty Errors

My error_log file keeps getting filled with this error and i don't know what is causing it. Any idea how i can find what is causing the error ?
[14-Aug-2020 13:20:32 Europe/Bucharest] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <--
thrown in /home/website/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177
It means somewhere in the code there is a variable called {$template} which is not defined. It could be theme templates or modules
I would use IDE to look for this variable. If this doesnt work just go for debuging technique, start where smarty starts rendering and go till place where it crashes :)
It looks like it is a dublicate for this question, maybe will help
SmartyException 0():Missing '$template' parameter with Prestashop
This also might be due to messed up module structure, its ModuleFrontControllers etc.
You can try to edit this file:
thrown in /home/website/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177
and check if you can log more informations about an error, file path etc.

How to resolve SFErrorDomain Code=1 error

I am trying to making a blocker for Mac,I have follow these steps(link)
and then using this code
[SFContentBlockerManager reloadContentBlockerWithIdentifier:APP_EXTENSION_NAME completionHandler:^(NSError * _Nullable error) {
NSLog(#"%#",error);
}];
It's print
Error Domain=SFErrorDomain Code=1 "(null)"
I done googling and found that means of this error is
"noExtensionFound error."
But I am not getting any solution for How to resolve this error.
I solved this error, what a silly mistake.
This error is coming because in new Xcode Content Blocker Extension comes with a different option next to safari extension option, and I chooses safari extension, and I am trying to make Content Blocker.So that's why "noExtensionFound error" is coming.
Another potential issue is that you may have ticked the "Embed App Extensions" -> Copy Only when installing within the Build Phases
So make sure you keep that unticked in order for it to work