Title: Shortcode warning/fatal error
Last modified: August 22, 2016

---

# Shortcode warning/fatal error

 *  [zzbeck](https://wordpress.org/support/users/zzbeck/)
 * (@zzbeck)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/shortcode-warningfatal-error/)
 * When i’m trying to insert the shortcode i get the following message:
 * > Warning: require_once(/data/blogger1/public_html/wp-content/wp-load.php): failed
   > to open stream: No such file or directory in /data/blogger1/public_html/wp-
   > content/plugins/network-latest-posts/js/nlposts_shortcode_form.php on line 
   > 49
   > Fatal error: require_once(): Failed opening required ‘/data/blogger1/public_html/
   > wp-content/wp-load.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) 
   > in /data/blogger1/public_html/wp-content/plugins/network-latest-posts/js/nlposts_shortcode_form.
   > php on line 49
 * [https://wordpress.org/plugins/network-latest-posts/](https://wordpress.org/plugins/network-latest-posts/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Jose Luis SAYAGO](https://wordpress.org/support/users/iluminatus/)
 * (@iluminatus)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/shortcode-warningfatal-error/#post-5464795)
 * Hi, it seems you have moved your _wp-config.php_ file one level above which makes
   the shortcode fail when looking for the root folder.
 * Please download the file found here: [nlp_shortcode_form.php](https://gist.github.com/josesayago/f19ae9bb20bf2eb38eef)
   and replace the one in _**/data/blogger1/public\_html/wp-content/plugins/network-
   latest-posts/js/**_.
 * Let me know if it works.
 *  Thread Starter [zzbeck](https://wordpress.org/support/users/zzbeck/)
 * (@zzbeck)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/shortcode-warningfatal-error/#post-5464827)
 * Thanks for you answer! Unfortunately it doesn’t work.. The file you’re linking,
   is the nlp_shortcode_form.php, and the file in the warning is the nlposts_shortcode_form.
   php.
    I don’t know if that has something to do with it.
 *  Plugin Author [Jose Luis SAYAGO](https://wordpress.org/support/users/iluminatus/)
 * (@iluminatus)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/shortcode-warningfatal-error/#post-5464880)
 * Hello, I’m sorry I set the wrong file name, please try again with this one: [nlposts_shortcode_form.php](https://gist.github.com/josesayago/f19ae9bb20bf2eb38eef),
   and let me know.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Shortcode warning/fatal error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/network-latest-posts_61c601.svg)
 * [Network Latest Posts](https://wordpress.org/plugins/network-latest-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/network-latest-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/network-latest-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/network-latest-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/network-latest-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/network-latest-posts/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Jose Luis SAYAGO](https://wordpress.org/support/users/iluminatus/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/shortcode-warningfatal-error/#post-5464880)
 * Status: not resolved