php error displaying widget on new posts page
-
I am not getting the WP Related Posts widget to display on the new posts page. No error appears there, but interestingly, a error flashes on the Appearance->Customize page before it is covered by the editor.
The error appears to be: Undefined index:wp_relatd_posts_widget in …/wp-includes/class-wp-customize-widgets.php on line 909, line 910 and line 569
thanks for help,
Leonardhttps://wordpress.org/plugins/wordpress-23-related-posts-plugin/
-
Petra –> It is WORKING <–
Just not in the Chrome browser. Firefox and IE are both displaying the related posts widget on the add posts page.
The php errors still flash up on the customize page.
So odd, but ok for now.One question: Since one of the files in wp-includes was edited, when there is an update, will I have to redo the edits?
Thanks,
Leonardit is working with new posts only. It is displaying the widget when I try to edit older posts, but not finding related posts in the widget.
Hmmm…as far as Chrome goes, maybe there is some weird cache problem but still, strange.
If you mean by updating our plugin – then no, it shouldn’t affect the wp-includes files.
Will try to figure out why it is only working for new posts so…I guess I am semi-happy for now.Stay tuned,
Petra
Petra- you are going to be sure I’m just making this stuff up. FYI, I’ve tried the related posts widget on 3 machines and 3 browsers:
hopefully, this all lines up correctly-
computer 1. Win7.
Chrome: NewPosts: no widget EditPosts: no widget
Firefox: **it works** widget, but no related posts
IE: **it works** widget, but no related postscomputer 2. Win7.
Chrome: NewPosts: no widget EditPosts: no widget
Firefox: **it works** **it works**
IE: **it works** **it works**computer 3. Win8.
Chrome: NewPosts:**it works** EditPosts:**it works**
Firefox: **it works** widget, but no related posts
IE: **it works** widget, but no related postsso with the right combination of computer and browser, we’re in good shape I guess, but thought you’d want to know.
Leonardthat didn’t work- My spacing was compressed. The first item is each line is the result with a new posting. The second item is the result when I try to edit an existing posting.
Hey Leonard,
thanks for the info! This truly is quite a mystery you have there and we wish to have a closer look – is it possible to make us a temporary account? If yes, please send those credentials to support[at]zemanta[dot]com.
Looking forward to your reply,
PetraHi
First of all, thanks for your great plugin!
Secondly, unfortunately I’m getting these errors too:
Undefined index: wp_related_posts_widget in /wp-includes/class-wp-customize-widgets.php on line 831 Undefined index: wp_related_posts_widget in /wp-includes/class-wp-customize-widgets.php on line 832 Undefined index: wp_related_posts_widget in /wp-includes/class-wp-customize-widgets.php on line 483I’ve been getting them for a while, but only now I can pinpoint when:
It happens when I enter the Theme Customizer screen.I’m using WP version 4.2.2, so the relevant lines are these:
Lines 831-832 are properties of array
$available_widget:'width' => $wp_registered_widget_controls[$widget['id']]['width'], 'height' => $wp_registered_widget_controls[$widget['id']]['height'],And line 483 is:
$width = $wp_registered_widget_controls[$widget_id]['width'];Which appears in function
is_wide_widget, called from line 833.What could the reason be?
Thanks!
Hey Lea,
thanks for reaching out and sorry for the late reply!
Would be possible to give me a link to your blog? Also, which WP theme do you use, your WP and (y)our plugin versions?Glad to hear you like our service and once again, my apologies for the unintentional silent treatment!
Looking forward to your reply,
PetraHi Petra
Now it’s my turn to apologize for the late reply π
This is my site
WP version: 4.2.2
Plugin version: 3.5.4Thank you,
Lea
The topic ‘php error displaying widget on new posts page’ is closed to new replies.