Results 1 to 3 of 3

Thread: Deprecated Warning

  1. #1
    Join Date
    Feb 2005

    Default Deprecated Warning


    every time i access the first time the Links - i get this PHP Deprecated Information:

    Deprecated: Assigning the return value of new by reference is deprecated in \wwwdoc\links\links_global.php on line 44

    Please, could you fix this - i haven´t checked the source code - but it is normally a small "&" who makes the warning.

    I´ve been using PHP 5.3. but the deprecated Information also affects normally the PHP 5.2 Builds.

    Best regards,

  2. #2
    Join Date
    Jan 2004
    Georgia, USA


    I haven't seen any other reports like this, so it sounds more like this may just be a new issue with PHP 5.3. It doesn't look like the reference there is really necessary though, so you should be able to solve the issue by looking in your links_global.php file for this code:
    PHP Code:
    $vba_links =& new vba_links(); 
    And replace with this:
    PHP Code:
    $vba_links = new vba_links(); 
    (just removing the & as you stated)
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

  3. #3
    Join Date
    Feb 2005


    It isn´t a PHP 5.3 Feature - this is since PHP 5.2.

    Correct - by removing the & the "Notice" disappears.

    You normally don´t see or hear this, because normally the ErrorReporting of PHP is configured without "NOTICE".

    If you turn on NOTICE in Error Reporting - you will see it also on PHP 5.2

    Thanks a lot.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Deprecated error with PHP 5.3.0
    By Coen Jeukens in forum Troubleshooting & Problems
    Replies: 6
    Last Post: 03-02-2010, 09:05 PM
  2. Warning Error
    By offline in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 08-29-2007, 12:26 PM
  3. Warning?!
    By 7OXIC in forum Troubleshooting & Problems
    Replies: 4
    Last Post: 05-05-2007, 11:31 AM
  4. New Install of 2.0.1 warning
    By waller99 in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 03-01-2007, 07:38 PM
  5. Warning: chdir():
    By Xplorer4x4 in forum Troubleshooting & Problems
    Replies: 3
    Last Post: 09-29-2005, 11:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts