Solved

Deprecated: .... Errors

Posted on 2011-09-19
1
582 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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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 …

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now