Posted: June 6, 2017 at 6:18 pm
|
Hi folks, I’m having an issue with the EE4 plug-in that has is ongoing on this site: http://dppskillnet.ie/index.php/events/ Every current event is displaying a long string of error codes before the event ticket selector. I have confirmed that the issue is not with the current theme, or any other active plug-ins. All other plug-ins were deactivated for testing and a default WordPress theme was applied with no success. An update of EE4 did not resolve the problem. EE4 is currently updated to Version 4.9.39.p. The license for the site is current. This error is occurring across multiple browsers. Please advise.
|
Hi there, Those warnings are not errors, they are warnings thrown by your server informing you the file path currently being checked is longer than the server allows (260 characters). For the majority of templates EE uses, it also checks for custom versions of the template within various locations including your site’s theme. What is happening is EE is passing the full path to our template function and the first step within that function is to check within the site’s theme (and child theme) for the template it has been passed. So EE passes something like:
As the template to load, which is passed to locate_template locate_template is then checking for that file in your theme which ends up being:
Normally that wouldn’t cause too much of an issue, the file doesn’t exist so EE continues on through its various other checks and returns a working template from wherever it finds it… however on your server, the above throws a warning because the file path is too long. Right now your server has display_errors set to true meaning all warnings, notices, errors etc will display on the front-end of the site. On production servers it is recommended to not display them, for that you can add something like this:
Within your wp-config.php file. You can then enabled logging to log the errors if needed during debugging. The above doesn’t ‘fix’ the cause of the warning but it should prevent the warnings from being thrown on the event page. |
|
|
Tony, Having consulted with my hosting operators, they could offer no better solution, so I have implemented your suggested fix and it has had the desired effect. Thank you for your help. |
The support post ‘Repeating filepath errors appearing before (related to?) ticket selector’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.