• My host, Pressable, caugt this bug:

    This is a problem with the twitter-posts-to-blog plugin, which is trying to load core files relative to the plugin directory, whereas it should be loading them via ABSPATH. They changed the following in the plugins functions.php

    Changed: require_once(dirname(__FILE__) . ‘/../../../wp-load.php’);
    To: require_once( ABSPATH . ‘/wp-load.php’);

    Changed: require_once(dirname(__FILE__) . ‘/../../../wp-admin/includes/admin.php’);
    To: require_once( ABSPATH . ‘/wp-admin/includes/admin.php’);

    Without those changes, the site threw a 500 error and wouldn’t load.

  • The topic ‘ABSPATH not used error’ is closed to new replies.