One of my websites had an error 500 on the front-end, hence wouldn’t load. With the help of my hosting provider I narrowed down the fatal flaw to the QR code plugin. My hosting provider said “The only fatal error I am seeing is from the eventon-qrcode plugin: [Thu Feb 16 10:32:40.628712 2017] [:error] [pid 25855] [client 188.8.131.52:36788] PHP Fatal error: Call to undefined function eventon_create_page() in /nas/content/live/ellipticalhost/wp-content/plugins/eventon-qrcode/includes/class-checkin.php on line 48,”
It turned out that someone had delete the checkin page which is referenced by the plugin, and so the whole site went down. I would have expected the checkin functionality of the site to be affected and maybe get a warning that the page is missing, but taking down the whole site is not good.
Once I recreated the checkin page, the site came back online. I would expect that would be addressed.Feb 16,2017 AT 5:38AM - 5 years ago -
so where are we right now?
is it working or not
“someone had delete the checkin page“
tell that someone not to delete the checkin page for starters
from what I read- someone deleted the checkin page and then you got 500 errors and when it was put back in you didn’t get the error anymore- and the site is running right?
The error message itself is kind of indicating missing of the file.
So, this is how it works in WordPress. Not just with our plugin, you will get the same message under same situation with all other themes and plugins.
Yes the site is running now. I suppose it’s more of a bug I’ve noticed, where if a user deletes the checkin page then the site goes down. So might be something to look at for the next version of the plugin.
Well dont delete the checking page! the page itself has a message in it
if you delete the page add this shortcode into a new page and make sure the link to that page it set correct in settings.
It’s not me that deleted it. There are numerous users with access to edit pages and someone removed it, they may not have even opened the page to delete it. Yes, it’s stupid for them to do that if they don’t know what the page is but that’s what you’ve to deal with sometimes.
I would have thought there would be a fail-safe that if the page is deleted it does not take down the entire site!. Pages are editable and I know from experience you cannot rely on people actually reading instruction or not messing with things even if they don’t know what it is.