"Only variables should be passed by reference in ..... applicationlight.php"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jeanius!
    Member
    • May 2016
    • 87
    • 5.2.x

    "Only variables should be passed by reference in ..... applicationlight.php"

    I have this appearing hundreds of times in my error log - what does it mean?

    [07-Jul-2016 15:24:20 UTC] PHP Notice: Only variables should be passed by reference in /home/<serveruser>/public_html/forums/includes/vb5/frontend/applicationlight.php on line 155

  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73981

    #2
    It means that a variable is not passed by reference but uses the original version directly. They will occur a lot but we try to clear them up as time permits. It shouldn't affect the operation of your site.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • Kevin Sours
      Lead Developer
      • Apr 2008
      • 601
      • 5.5.x

      #3
      Out of curiosity, what version of PHP are you running?
      I'm pretty sure this is caused by a change to PHP after 7.0.4. This has been fixed for 5.2.3

      Comment

      • Jeanius!
        Member
        • May 2016
        • 87
        • 5.2.x

        #4
        Hi Kevin,
        I am running 7.0.8.
        Thanks!

        Comment

        • Jeanius!
          Member
          • May 2016
          • 87
          • 5.2.x

          #5
          Hi Kevin,
          Any chance there's a way to fix this?
          I've now got 315,000 lines of it in my error log, which is making it quite difficult to track other things down!

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 73981

            #6
            This should be fixed in 5.2.3 when it is released soon.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            Related Topics

            Collapse

            Working...