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
Related
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.
How to use Run Keyword And Ignore Error in ROBOT Keyword , Please give with example
I have tried to do scrolling by using Scroll Element Into View /html/body/section/div[3]/div
it is scrolling correctly to that point but it is showing it was failed throwing an error of movetargetoutofboundsexception: message: move target out of bounds , for handling this I tried to use Run Keyword And Ignore Error but don't know to how to write this in code please help to solve this issue with an example
It should work like this:
Run Keyword And Ignore Error Scroll Element Into View /html/body/section/div[3]/div
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.
When I try to run my app I get the error
Unable to resolve "../assets/icon.png" from "app\assets\screens\WelcomeScreen.js"
Error: Problems validating asset fields in app.json. See https://docs.expo.io/
• Field: icon - cannot access file at './assets/icon.png'.
I created a screens folder and input my homescreen into it as I heard that the majority of the react native community does things that way. Attached is a picture of my filesenter image description here
I think that the image path is off, however I had changed it multiple times and am still getting the same error.
Any help would be appreciated.
try the following: ../icon.png
Cause that's what I can see from your file structure.
If you use visual studio code as dev tool, when you type path cue, correct path will be appeared. so you can avoid to make mistake in path of image.
I just want a custom error page when a server error occurs - I've tried endless combinations of suggestions that I've found on google but nothing even begins to get me there.
Essentially, I have some error handling routines in my surface controllers where I want to log the error & then throw the exception so that somewhere down the line a 500 response code is returned & a custom error page is displayed.
try
{
repository.AddShoppingCartItem(sci);
}
catch(Exception e)
{
Log.Error("whatever...");
throw;
}
Then in my web.config I've tried
<customErrors mode="On" defaultRedirect="error500">
</customErrors>
and
<customErrors mode="On" defaultRedirect="umbraco/surface/error500surface">
</customErrors>
(where the 1st version uses a regular controller & the second a surface controller)
Neither do anything.
I've also added this line as others have suggested but it makes no difference:
What I get is my normal layout page getting rendered along with this message:
Error loading Partial View script (file: ~/Views/MacroPartials/Addcart.cshtml)
what I want to happen is for a custom error page to be displayed instead.
Reading all the stuff on google, I'm completely confused as to whether I need to configure Umbraco to handle these errors or whether it's a pure MVC approach. I get the impression that 404 errors are done through umbraco but 500 errors need to be a pure MVC approach. Don't know if anyone can confirm this. Either way, something up the chain is swallowing my throw statement & I don't know what it is.
I've also tried
return new HttpStatusCodeResult(500);
in place of the throw & that just gets me a nasty IIS error page.
Any help would be most appreciated as this is driving me nuts.
500 errors are server errors and no different in Umbraco than in regular IIS:
This is a server error and can only be solved by website admin who has access to files and the web-server. There can be one of/or multiple reasons to get this error. One has to track down the issue and handle accordingly.
http://www.codeproject.com/Articles/545054/HTTPplus-plus-e-plusInternalplusserverplus
More info:
https://serverfault.com/questions/407954/how-to-diagnose-a-500-internal-server-error-on-iis-7-5-when-nothing-is-written-t
Edit: apparently you may be able to enable custom errors like so:
http://helpnotes.vpasp.com/kb/611-General-hosting-questions/1089-How-to-Turn-Off-Friendly-Error-in-IIS-7xx/
Edit2: This may be of interest as well:
http://benfoster.io/blog/aspnet-mvc-custom-error-pages