Closed ekandreas closed 10 years ago
Should I create a fork and request a change instead?
Fork us and send a pull request. That would be awesome!
Hi Andreas!
I have never seen this error on any of our websites. I'm suspecting that this error originates from you own code, when hooking into the filter arlima_template_paths
. Could this be possible?
edit: The filter should return an one-dimensional array with paths to directories where your templates are located.
Victor! That is the case. Please ignore my request!
This issue regards classes/TemplatePathResolver.php line 56
Sometimes $path is an array. Perhaps check for it and convert the array to string? This causes a lot of error_log -messages.
if( is_array( $path ) && isset( $path[0] ) ) $path = $path[0]; $path = rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;