01/23/2019 at 9:34 am
#482447
Keymaster
@ Angela
I’m unable to replicate this on my dev site which has PHP 7.1 on it. What is the exact shortcode you are using to embed the directory on the page?
It is considered a best practice to not display PHP messages on a live site. Here’s a tutorial which explains how to suppress these messages:
How do I hide PHP Warnings and Notices?
I personally log these to a file outside of the public HTML folder so they are not accessible. This allows me to review and track down issues on my live site without publicly displaying them.
Hope this helps!
