Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
i tried to put some php code(probably with syntax errors) for test purposes and after save i dont have access to my drupal installation. I see those errors for every page i try to access. Is there any solution to for this?
Parse error: syntax error, unexpected '<' in /home/domain/public_html/sites/all/modules/views_php/plugins/views/views_php_handler_filter.inc(82) : runtime-created function on line 1
Fatal error: Function name must be a string in /home/domain/public_html/sites/all/modules/views_php/plugins/views/views_php_handler_filter.inc on line 89
Comments
Comment #1
philsward CreditAttribution: philsward commentedRan into the same problem...
Try putting your code in the Output Code section instead of the Value Code
I simply added a link with full html tags:
which seems to work fine in the Output Code.
Comment #2
Liam Morland