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' );
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' );