Hi thanks for the quick feedback.. I’m using a bitnami AWS instance for wordpress, and it does seem to have a weird directory structure.
there was a log entry (redacted)…
[pid 31956:tid 139741139801856] [client x.xx.xx:61532] AH01071: Got error ‘PHP message: PHP Warning: Use of undefined constant MT_HOME_URL – assumed ‘MT_HOME_URL’ (this will throw an Error in a future version of PHP) in /bitnami/wordpress/wp-content/plugins/my-tickets/includes/qrcode.php on line 42′, referer: https://xx.xx.com/tickets-2/?ticket_id=adcd331eb737e10000
[Wed Aug 04 17:15:07.542473 2021] [proxy_fcgi:error] [
In the end I’m afraid I hacked the QR code qrcode.php to hard code in the domain name and it seems to work. ie..
// if the above fails, we’ll generate a URL, but it may be wrong.
$url = “xx.xx.uk” . “?ticket_id=$ticket&action=mt-verify”;
All tickets on one page is good enough for me! most of our users are families so it will be the norm. I will try and get my head around this…
Thanks again…