Title: PHP Warning: Creating default object from empty value
Last modified: August 20, 2016

---

# PHP Warning: Creating default object from empty value

 *  Resolved [r-dent](https://wordpress.org/support/users/r-dent/)
 * (@r-dent)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/php-warning-creating-default-object-from-empty-value-1/)
 * Im getting this warning.
 * `Warning: Creating default object from empty value in [...]/wp-content/plugins/
   links-shortcode/links-shortcode.php on line 42`
 * My solution was to turn off warnings. 😉 But there must be a better way.
 * Greets.
 * [http://wordpress.org/extend/plugins/links-shortcode/](http://wordpress.org/extend/plugins/links-shortcode/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Maarten](https://wordpress.org/support/users/maartenjs/)
 * (@maartenjs)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/php-warning-creating-default-object-from-empty-value-1/#post-3486674)
 * Hello r-dent,
 * Thanks for reporting this. It should be fixed in 1.4 (released yesterday).
 * Best regards,
 * Maarten

Viewing 1 replies (of 1 total)

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

 * ![](https://s.w.org/plugins/geopattern-icon/links-shortcode_99cefc.svg)
 * [Links shortcode](https://wordpress.org/plugins/links-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/links-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/links-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/links-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/links-shortcode/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 1 reply
 * 2 participants
 * Last reply from: [Maarten](https://wordpress.org/support/users/maartenjs/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/php-warning-creating-default-object-from-empty-value-1/#post-3486674)
 * Status: resolved