You have unexpected whitespace (either a space or an entire line) on line 21 of the /wp-content/plugins/all-in-one-wp-builder/visual-editor.php file. See this guide for more info.
Alternatively, replacing the file with one from a fresh download may resolve the issue.
Hi James:
I managed to get into my file manager in my hosting cpanel.I also downloaded an editor and downloaded the file which was mentioned. It looks a bit different from what was recommended on the link you gave.So I am not sure how to proceed.Indeed there is nothing on line 21, do I just delete the line?
<php
/*
Plugin Name: AIO WP Builder
Plugin URI: http://allinonewpbuilder.com/
Description: AIO WP Builder
Author: AIO WP Builder
Version: 1.8.8
Author URI: http://allinonewpbuilder.com/
*/
define('VE_DIR',dirname(__FILE__));
define('VE_URL',plugins_url('',__FILE__));
define('VE_CONFIG',VE_DIR.'/config');
define('VE_CORE',VE_DIR.'/core');
define('VE_MODULE',VE_DIR.'/modules');
define('VE_VIEW',VE_DIR.'/view');
define('VE_PAGE_TEMPLATE_DIR',VE_VIEW.'/page-templates');
define('VE_VERSION','1.8.8');
require_once VE_CORE.'/load.php';
$ve_loader=new VE_Loader();
$ve_loader->init()->ve_manager()->run(require VE_CONFIG.'/ve-config.php');
In this case, it’s probably best to just delete the entire /all-in-one-wp-builder/ directory, then reinstall the plugin from Plugins -> Add New in your site’s Dashboard.
You shouldn’t have to modify a plugin file directly, so I’m wondering if something else may be wrong with the files themselves.
Hi James-
Thank you so much!
The thing though is I am not even able to log into the website. When I try to log in, that error message comes up.
Is there another way for me to log in?Sorry for the simple questions, I am a newbie to all this. 🙂
Once you delete the entire /all-in-one-wp-builder/ directory, you’ll be able to log in to the site, because the plugin and therefore its error will be gone.
Thank you so much James! I managed to get support from my hosting company (for once!) I was able to login and I deactivated and deleted the plugin.
Thanks again for your help!