Hi,
500 error is a server error which its leading cause can only be determined by checking the PHP error logs of your server.
Please check the possible solutions at https://docs.elementor.com/article/300-500-error-while-using-elementor
Thread Starter
golded
(@golded)
hi, ok i will check and will say here what was the origin of my error for users.
have a nice day
Thread Starter
golded
(@golded)
this is the error :
[23-Mar-2020 10:11:45 UTC] PHP Notice: Undefined index: utm_term in /xxxx/wp-content/plugins/insert-php-code-snippet/shortcode-handler.php(65) : eval()’d code on line 2
insert-php-code-snippet is an extension, i desable it but i have always the error…
any idea ?
Hi,
Could you tell me which error do you see when you deactivate the
Insert-PHP-code-snippet plugin?
Also, please follow these steps, and let me know if it solved your issue:
– – Deactivate all of your plugins except Elementor. If this solves the problem, gradually activate your plugins one by one, until you spot the problematic plugin.
– switch your WordPress theme to WordPress TwentySixteen (or other default WordPress theme) temporarily – and see if it solves your error.
Thread Starter
golded
(@golded)
hi,
i did all your advices but the it was the same error each time, so not logical
finally, i desable the cache extension W3 Total Cache and all works normally, no more error, i just desable this extension, very strange no ? because i purged all cache for each change i did.
But this is the error which is displayed on the website but without error 500:
“Notice: Undefined index: utm_term in /homepages/17/***/htdocs/***/wp-content/plugins/insert-php-code-snippet/shortcode-handler.php(65) : eval()’d code on line 2”
this is the code i set for the shortcode insert-php-code-snippet :
<?php
$utm_term= $_GET[“utm_term”];
?>
<h2 style=”text-align:center;color:white;font-size: 26px; !important;”><?=$utm_term?></h2>
if there isn’t a utm_term in the url, it’s empty, if no, it displayed the utm_term
Hi,
From your reply, I understand that this error is coming from the code you have inserted in the ‘insert-PHP-code snippet’ plugin.
If you deactivate the plugin and you still see this error, the error may be caused by the cache with is in your system(server)/plugins in WP.
You have mentioned that if you deactivate ‘W3 Total Cache’, the error disappears.
The issue is likely coming from caching issues.
Please make sure to clear all cache including cache from plugins, and Must-Use plugins (server) – if you have.
I hope it solves your issue.
Thread Starter
golded
(@golded)
hi, ok thank you so much for your answer.
yes i think it was a problem of cache and firt it was a conflict between the plugin elementor and insert-php-code-snippet.
have a nice day