December 7, 2020 at 7:31 am #8518
Thanks.December 7, 2020 at 1:18 pm #8519Aakash ChakravarthyKeymaster
Usually 500 internal server error occurs when the server is overloaded.
When you were publishing the shortcode it is possible that the server was overloaded at that time. Publishing a shortcode is same as publishing a normal post. So the crash can happen even when you publish a post.
I tried the same code at my end and there were no crashes.
Please do try again.
You might have also have to consider the recommendations in below page like increasing the PHP memory limit if the issue reoccurs.
AakashDecember 7, 2020 at 6:50 pm #8522
Thank you for the speedy answer! I don’t think it’s an issue that has to do with server overload or PHP memory. I made a quick video to show you what happens. Any help is appreciated.
Thank you!December 7, 2020 at 7:04 pm #8523Aakash ChakravarthyKeymaster
That is strange. Only with debugging enabled I can find out the eact issue. I’m not able to see the issue on my side.
One thing I notice is that the single quote is a special character.
Not sure if wordpress/or any plugin is catching it as a security threat.
Please use the code below where the script has the normal single quote.
AakashDecember 7, 2020 at 7:16 pm #8524
Amazing! That worked! I was sure it was something within the code that bothered WordPress or the plugin but I didn’t know what exactly as I’m not a coder :s. Great observation skills! I really appreciate your help. You deserve a cup of coffee 😉
All the best,
- You must be logged in to reply to this topic.