This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Error PHP message-"Deprecated: Assigning the return value of new....


  1. anasousa
    Member

    Hi there,
    I´m getting many of this error message:
    "Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\MachForm 2.0\edit_form.php on line 49"
    I´m new in PHP but i know this has to do with the version of my PHP ( which is 5.3.0 ), but how can i fix it? Can you please point me in the right direction on fix this?
    Thank you.

    Posted 14 years ago #
  2. yuniar

    This is actually not an error, but your PHP seems to be configured to display this as warning.
    To fix it, try this, edit your "edit_form.php" file, search around line 49 for this code:

    $form =& new stdClass();

    change it to become:

    $form = new stdClass();

    MachForm Founder

    Posted 14 years ago #

RSS feed for this topic

Reply