Integrating boxtal PHP library into a custom WordPress Plugin
The / path will try to require the file from your server’s root directory. Instead, try something like: require_once( plugin_dir_path( __FILE__ ) . ‘/config/autoload.php’ ); require_once( plugin_dir_path( __FILE__ ) . ‘config/config.php’ ); Reference plugin_dir_path()