Title: Creating default object from empty value error
Last modified: August 30, 2016

---

# Creating default object from empty value error

 *  [Torsten Landsiedel](https://wordpress.org/support/users/zodiac1978/)
 * (@zodiac1978)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-error-2/)
 * I get this error with `post-list` and `post-content`:
 * > Warning: Creating default object from empty value in /htdocs/wp/wp-content/
   > plugins/post-content-shortcodes/class-post-content-shortcodes.php on line 610
 * Plugin output is working without any problems.
 * I use this shortcode for example:
    `[post-list show_excerpt=true excerpt_length
   =30 post_type="page" include=84,86,88,90]`
 * Any help is much appreciated!
 * All the best,
    Torsten
 * [https://wordpress.org/plugins/post-content-shortcodes/](https://wordpress.org/plugins/post-content-shortcodes/)

Viewing 1 replies (of 1 total)

 *  [AaronsWorld](https://wordpress.org/support/users/aaronsworld/)
 * (@aaronsworld)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-error-2/#post-6499745)
 * I was having the same exact problem. It turns out the post number I was trying
   to include had changed or I typed it in wrong. Looking up the exact number solved
   the problem.
 * i.e. make sure you have posts with 84,86,88, and 90 id’s
    (i bet it will work
   if you take those out)
 * Might be a way to just skip the post if it is not found rather than throwing 
   an error message ;). -or- showing an error message in the backend plugin settings
   with a link to the page with the problematic shortcode would be even more helpful.
 * Hoped that helps.

Viewing 1 replies (of 1 total)

The topic ‘Creating default object from empty value error’ is closed to new replies.

 * ![](https://ps.w.org/post-content-shortcodes/assets/icon-256x256.png?rev=979726)
 * [Post Content Shortcodes](https://wordpress.org/plugins/post-content-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-content-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-content-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/post-content-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-content-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-content-shortcodes/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [AaronsWorld](https://wordpress.org/support/users/aaronsworld/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-error-2/#post-6499745)
 * Status: not resolved