Solved

Deprecated: .... Errors

Posted on 2011-09-19
1
585 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

776 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