Keyword

new deprecated error code with rss feed.

  • arcee123
  • arcee123's Avatar Topic Author
  • Offline
  • New Member
More
11 years 11 months ago #48462 by arcee123
greetings,
I am receiving this code:
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/trekfederation.com/iftbeta/modules/mod_jw_srfr/includes/simplepie.php on line 731

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/trekfederation.com/iftbeta/modules/mod_jw_srfr/includes/simplepie.php on line 1098

This code repeats itself throughout the module for what it appears to be each article.

Thank you.

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #48463 by jaacek323
Replied by jaacek323 on topic Re: new deprecated error code with rss feed.
im having the same error

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #48464 by smurfslayer
Replied by smurfslayer on topic Re: new deprecated error code with rss feed.
I got the error as well, it was the 3rd post install error.  The first 2 I found hints to here, this one I didn’t and didn’t see an obvious answer to. 

I disabled the srfr and within 1/4 the time I spent on it, used iWeb to create exactly the page I wanted, wrapped it in an iFrame menu item and had it in my users hot little hands.  I dislike having to use more than one app to publish, but as near as I can tell there is simply no plug and play option that doesn’t require you to modify some file somewhere in the core install, or produce some basket full of errors, or only displays a single column, etc., etc.

For those of you having problems like this, consider building the page outside Joomla and wrapping it in the template. 

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #48465 by apoel15
Replied by apoel15 on topic Re: new deprecated error code with rss feed.
For sure is a problem

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #48466 by Adam Parker
Replied by Adam Parker on topic Re: new deprecated error code with rss feed.
happened to me when I used this feed URL:

sercblog.si.edu/?feed=rss2

I removed the ==rss2 and it works without error now.

final URL is this:

sercblog.si.edu/?feed

maybe this will help you guys as well as help authors fix small bug

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #48467 by nsimms
In Simplepie.php , I did 'a find and replace all' on "& new" , replacing it with "new". It seemed to work.

My logic was the suggestion to replace ampersands which came up in
www.gavick.com/forums/114/joomlaworks-simple-rss-feed-reader-13021.html

, combined with the specific reference to new in the error message

"Deprecated: Assigning the return value of new by reference is deprecated "

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #48468 by srosa
I'm upgrading (finally) one of my 1.5 sites and I'm running with J2.5.8.  I came across this same problem with the JoomlaWorks Simple RSS Feed Reader.

I did try replacing all references to "& new" to "new" in simplepie.php and that seemed to work.  Another thing that worked for me was to replace simplepie.php that comes with the module with the simplepie.php used by core Joomla (libraries/simplepie/simplepie.php).

JoomlaWorks appears to be using simplepie version 1.1.3 while Joomla core is using 1.2

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum