I’m getting following error here (Screenshot) :
https://postimg.org/image/j4dd0ttld/
Thanks.
Ansif
https://www.ads-software.com/plugins/shortcodes-ultimate/
]]>“PHP Warning: strpos() expects parameter 1 to be string, array given in /home/wordpress/wp-includes/rss.php on line 577”
I do have them unchecked in Screen Options, so I’m going to assume they’re still active when the Dashboard loads but just not displayed?
]]>Warning: Illegal offset type in /home/.lacydryer/jderosa3/redtablegroup.com/wp-includes/rss.php on line 1459
How can I resolve these issues?
Thanks.
]]>let’s see..
I use the so common
<?php
include_once(ABSPATH . WPINC . '/rss.php');
wp_rss('https://feeds.feedburner.com/reloadedvnn', 5);
?>
to display 5 latest post from other blog and forum on my site.
First of all I need to indicate the evident:
site: “https://vnnonline.net”
language: “spanish”
WP version: 2.7 both.
First I was thinking that was problem of the charset of my forum so I decide to change all tables to UTF-8 in vbulletin, at the moment it seems that resolve the problem in the RSS of the Forum, but my other blog is WP2.7 already in UTF-8 and some spanish characters are not showing well.
I use Feedburner for this purpose , and I validate it and all goes well.
So now I don’t have any clue of what the problem is.
If somebody have the solution please, give me a hand.
thanks
]]>The blog below should show 2 x RSS feeds one is ok the other isn’t. Does this suggest a different problem (in the thread).
https://toolbox.best-one.info/NewsB/
This is the error I get.
Warning: Attempt to assign property of non-object in
/home/ppppppppp/public_html/toolbox/NewsB/wp-includes/rss.php on line 440
I have around 10 similar feeds all created from same data and all just created in the last few days with Worpress v 2.6.2
some seem OK and some give the above error message.
The thread suggested inserting the code below. This code is already inserted in my installation
//if ( isset($rss) and $rss ) {
if ( isset($rss) && (is_object($rss) ||(is_string($rss) && $rss=unserialize($rss))) ) { $rss->from_cache = 1;
if ( MAGPIE_DEBUG > 1) {
I don’t understand too much about the files but I loaded rss.php into Excel and line 440 appeared to be checking for a cache file
Any help / ideas appreciated
]]>I have around 10 similar feeds all created from same data and all just created in the last few days with Worpress v 2.6.2
some seem OK and some give the above error message.
https://toolbox.best-one.info/NewsB/
This blog has 2 feeds – 1 feed gets the message and the other doesn’t. I don’t understand too much about the files but I loaded rss.php into Excel and line 440 appeared to be checking for a cache file
Any help / ideas appreciated
]]>I have set up a syndicated feed list through “Rojo.com” (excellent service) and I would like to parse it to a page. I already have it working for the title and the link, however the “content/description” is formatted in an array that doesn’t seem to parse.
Here is the code:
<!-- RSS feed -->
<?php
if (is_page('RSS Syndication') ){
require_once(ABSPATH . WPINC . '/rss.php');
$rss = fetch_rss('https://www.server.com/externalfeed.rss');
for( $i=0; $i<25; $i++ ) {
$item=$rss->items[$i];
$pubdate=substr($item['pubdate'], 0, 16);
echo '
<a href="'.$item['link'].'" title="'.$item['title'].'"><b>'.$item['title'].'</b></a>
<i>'.$pubdate.'</i>
<i>'.$item['content'].' content</i>
<i>'.$item['summary'].' summary</i>
<i>'.$item['title'].' title</i>
<i>'.$item['content'].' content</i>
<a href="'.$item['link'].'">more...</a>
';
}
}
?>
<!-- End of feed -->
First of all, the content outputs “Array”, and the summary is blank. Second, is there a built in parser in rss.php that I can use? I noticed the “get_rss” function in the bottom of the rss.php file.
Thank you for your support, I am extremely new to this.
]]><?php // Get RSS Feed(s)
include_once(ABSPATH . WPINC . '/rss.php');
$rss = fetch_rss('https://www.ads-software.com/development/feed/');
$maxitems = 5;
$items = array_slice($rss->items, 0, $maxitems);
?>
<ul>
<?php if (empty($items)) echo '<li>No items</li>';
else
foreach ( $items as $item ) : ?>
<li><a href='<?php echo $item['link']; ?>'
title='<?php echo $item['title']; ?>'>
<?php echo $item['title']; ?>
</a></li>
<?php endforeach; ?>
</ul>
The problem I have is that when I use the above example (WordPress news feed) it is fine, but when I change it to another WordPress feed (from one of my own sites) it appears once, but when I hit refresh the RSS feed disappears!! It’s like it manages to get the feed once, but then doesn’t cache it properly or something!!
I’m tearing my hair out trying to work this one out – I just don’t understand how this is not working!!
]]>In blog 1 I have a template that displays a post in the sidebar area, giving content management control for the website interface, this contains images and text with some css styling.
In blog 2 I would like to display this content – I’m getting bored of copying and pasting code! There must be a more sensible way of doing this!!
I guess it boils down to adding a connection to ‘blog 1’ and in ‘blog 2’ putting in a mini loop to get that single post – I’m familiar enough with WordPress to manage that at least! However, what will happen to the css – there are many potential clashes with Blog 2’s css… I’m really scratching my head over this!
I initially thought about using RSS to get that single post, it is already in a special category, so I could just get the category feed and show a single post (the latest). However, there are other posts in this special category, so if one of those gets updated, how could I ensure that it shows the right post – that’s what got me scratching my head!
I’d ideally like to use this technique to show multiple posts from ‘blog 1’. I could just put a single post into individual categories – and get the RSS from that category, but this seems a little excessive. Just a little side question – is there any way of getting a ‘page’ rss feed in this way?
The RSS feed with strip out the formatting, but I’m fairly sure I could get around this though and re-style it up.
Any ideas would be much appreciated – this is something that I would like to use for a number of sites!!
]]>Warning: Attempt to assign property of non-object in /home/astraviv/public_html/wp-includes/rss.php on line 431