Solved

Deprecated: .... Errors

Posted on 2011-09-19
1
586 Views
Last Modified: 2012-05-12
Does anybody knows causes the following errors:

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cart.php on line 349

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cart.php on line 2023

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\cart.php on line 2121

The code on those lines are:

$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());

$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());

$pdf =& new Cezpdf(('A4'));


0
Comment
Question by:ChrisTERiS
1 Comment
 
LVL 8

Accepted Solution

by:
Rik-Legger earned 500 total points
ID: 36562678
Removing the & signs will fix that.

$bbcode_parser = new vB_BbCodeParser($vbulletin, fetch_tag_list());

$bbcode_parser = new vB_BbCodeParser($vbulletin, fetch_tag_list());

$pdf =& new Cezpdf(('A4'));

Open in new window

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question