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.
In my server log I'm seeing multiple lines like (possibly for every quiz question):
09-Mar-2015 08:33:48] PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home2/dougsgui/public_html/prod/sites/all/modules/quiz/includes/QuizResultController.class.inc on line 5
In QuizResultController.class.inc line 5 reads:
function delete($ids, \DatabaseTransaction $transaction = NULL) {
I'm not familiar with the backslash syntax, though I see it in other functions which apparently don't throw an error.
Is this a problem?
Comments
Comment #1
djdevinAre you possibly using PHP 5.2? That may be why.
Comment #2
dkalish CreditAttribution: dkalish commentedNo, using 5.4.24 on bluehost.
Comment #3
djdevinHm, interesting.
Anyways, if you remove it and it works it isn't harmful. D7 doesnt really use namespaces too heavily so it won't matter.
I will go ahead and remove it anyway, it's not necessary and was just my IDE filling things in :\
Comment #4
djdevin