Solved

Deprecated: .... Errors

Posted on 2011-09-19
1
587 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
This article discusses four methods for overlaying images in a container on a web page
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

734 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