Support

Home Forums Event Espresso Premium Error when uploading logo

Error when uploading logo

Posted: September 21, 2018 at 4:09 pm

Viewing 1 reply thread


whiscreative

September 21, 2018 at 4:09 pm

I get this error when uploading a logo in the General Settings:

An error has occurred:
The “Your Organization Settings” form is invalid. Please correct the following errors and resubmit:
exception ‘EE_Validation_Error’ with message ‘That URL seems to be broken. Please enter a valid URL’ in /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/libraries/form_sections/strategies/validation/EE_URL_Validation_Strategy.strategy.php:54 Stack trace: #0 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/libraries/form_sections/inputs/EE_Form_Input_Base.input.php(597): EE_URL_Validation_Strategy->validate(‘http://firstaid…’) #1 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/libraries/form_sections/base/EE_Form_Section_Proper.form.php(960): EE_Form_Input_Base->_validate() #2 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/libraries/form_sections/base/EE_Form_Section_Proper.form.php(314): EE_Form_Section_Proper->_validate() #3 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/libraries/form_sections/form_handlers/FormHandler.php(622): EE_Form_Section_Proper->receive_form_submission(Array) #4 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/admin_pages/general_settings/OrganizationSettings.php(389): EventEspressocorelibrariesform_sectionsform_handlersFormHandler->process(Array) #5 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/admin_pages/general_settings/General_Settings_Admin_Page.core.php(471): EventEspressoadmin_pagesgeneral_settingsOrganizationSettings->process(Array) #6 [internal function]: General_Settings_Admin_Page->_update_your_organization_settings() #7 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(1004): call_user_func_array(Array, Array) #8 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(765): EE_Admin_Page->_route_admin_request() #9 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(588): EE_Admin_Page->route_admin_request() #10 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(209): EE_Admin_Page->_page_setup() #11 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/extend/general_settings/Extend_General_Settings_Admin_Page.core.php(23): EE_Admin_Page->__construct(true) #12 [internal function]: Extend_General_Settings_Admin_Page->__construct(true) #13 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Init.core.php(391): ReflectionClass->newInstance(true) #14 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Init.core.php(243): EE_Admin_Page_Init->_initialize_admin_page() #15 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Loader.core.php(368): EE_Admin_Page_Init->do_initial_loads() #16 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Loader.core.php(107): EE_Admin_Page_Loader->_get_installed_pages() #17 [internal function]: EE_Admin_Page_Loader->__construct() #18 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(1262): ReflectionClass->newInstanceArgs(Array) #19 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(902): EE_Registry->_create_object(‘EE_Admin_Page_L…’, Array, ‘core’, false) #20 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(390): EE_Registry->_load(Array, ‘EE_’, ‘Admin_Page_Load…’, ‘core’, Array, false, true, false) #21 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin.core.php(208): EE_Registry->load_core(‘Admin_Page_Load…’) #22 [internal function]: EE_Admin->init(”) #23 /nas/content/live/firstaidnew/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array) #24 /nas/content/live/firstaidnew/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #25 /nas/content/live/firstaidnew/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #26 /nas/content/live/firstaidnew/wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php(1194): do_action(‘AHEE__EE_System…’) #27 [internal function]: EE_System->initialize_last(”) #28 /nas/content/live/firstaidnew/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array) #29 /nas/content/live/firstaidnew/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #30 /nas/content/live/firstaidnew/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #31 /nas/content/live/firstaidnew/wp-settings.php(450): do_action(‘init’) #32 /nas/content/live/firstaidnew/wp-config.php(121): require_once(‘/nas/content/li…’) #33 /nas/content/live/firstaidnew/wp-load.php(37): require_once(‘/nas/content/li…’) #34 /nas/content/live/firstaidnew/wp-admin/admin.php(31): require_once(‘/nas/content/li…’) #35 {main}


Tony

  • Support Staff

September 24, 2018 at 3:39 am

Hi there,

You can circumvent that URL validation (which can from time-to-time throw a false-positive) by adding the following code:

add_filter(
    'FHEE__EE_URL_Validation_Strategy__validate__check_remote_file_exists',
    '__return_false'
);

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.

Viewing 1 reply thread

The support post ‘Error when uploading logo’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso