Title: Type E Error
Last modified: March 26, 2021

---

# Type E Error

 *  [hellbrueck](https://wordpress.org/support/users/michailschuch/)
 * (@michailschuch)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/type-e-error/)
 * Hello,
 * Unfortunately, I have a type E error on my website connected with the locateandfilter
   plugin – it seems to be connected with the Default settings, where I cannot choose
   the map overlay “Open Street Map” anymore. Please help!
 * The following error message appeared:
 * An error of type E_ERROR was caused on line 38 of file /home/.sites/92/site2827622/
   web/wp-content/plugins/locateandfilter/admin/partials/locate-and-filter-settings-
   admin.php. Error message: Uncaught Error: Non-static method Locate_And_Filter_Tools::
   getLocaleList() cannot be called statically in /home/.sites/92/site2827622/web/
   wp-content/plugins/locateandfilter/admin/partials/locate-and-filter-settings-
   admin.php:38
    Stack trace: #0 /home/.sites/92/site2827622/web/wp-content/plugins/
   locateandfilter/admin/class-locate-and-filter-admin.php(324): include() #1 /home/.
   sites/92/site2827622/web/wp-includes/class-wp-hook.php(292): Locate_And_Filter_Admin::
   admin_settings_page(”) #2 /home/.sites/92/site2827622/web/wp-includes/class-wp-
   hook.php(316): WP_Hook->apply_filters(”, Array) #3 /home/.sites/92/site2827622/
   web/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #4 /home/.sites/92/
   site2827622/web/wp-admin/admin.php(259): do_action(‘locateandfilter…’) #5 /home/.
   sites/92/site2827622/web/wp-admin/edit.php(10): require_once(‘/home/.sites/92…’)#
   6 {main} thrown`
 * I would appreciate a quick respond, as my maps are all broken 🙁
 * Thanks a lot!
    -  This topic was modified 5 years, 2 months ago by [hellbrueck](https://wordpress.org/support/users/michailschuch/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftype-e-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [hellbrueck](https://wordpress.org/support/users/michailschuch/)
 * (@michailschuch)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/type-e-error/#post-14238179)
 * Furthermore, in the map window appears the following message:
 * `Warning: Undefined variable $marker in /home/.sites/92/site2827622/web/wp-content/
   plugins/locateandfilter/public/class-locate-and-filter-public.php on line 968
   Warning: Undefined variable $marker in /home/.sites/92/site2827622/web/wp-content/
   plugins/locateandfilter/public/class-locate-and-filter-public.php on line 968
   Warning: Undefined variable $marker in /home/.sites/92/site2827622/web/wp-content/
   plugins/locateandfilter/public/class-locate-and-filter-public.php on line 968
   Warning: Undefined variable $marker in /home/.sites/92/site2827622/web/wp-content/
   plugins/locateandfilter/public/class-locate-and-filter-public.php on line 968
   Warning: Undefined variable $marker in /home/.sites/92/site2827622/web/wp-content/
   plugins/locateandfilter/public/class-locate-and-filter-public.php on line 968
   Warning: Undefined variable $marker in /home/.sites/92/site2827622/web/wp-content/
   plugins/locateandfilter/public/class-locate-and-filter-public.php on line 968
   Warning: Undefined variable $marker in /home/.sites/92/site2827622/web/wp-content/
   plugins/locateandfilter/public/class-locate-and-filter-public.php on line 968
   Warning: Undefined variable $marker in /home/.sites/92/site2827622/web/wp-content/
   plugins/locateandfilter/public/class-locate-and-filter-public.php on line 968
   Warning: Undefined variable $marker in /home/.sites/92/site2827622/web/wp-content/
   plugins/locateandfilter/public/class-locate-and-filter-public.php on line 968
   Warning: Undefined variable $marker in /home/.sites/92/site2827622/web/wp-content/
   plugins/locateandfilter/public/class-locate-and-filter-public.php on line 968`
 *  Plugin Author [dgamoni](https://wordpress.org/support/users/dgamoni/)
 * (@dgamoni)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/type-e-error/#post-14238367)
 * what is your php version?
 *  Thread Starter [hellbrueck](https://wordpress.org/support/users/michailschuch/)
 * (@michailschuch)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/type-e-error/#post-14238381)
 * Hi!
    My PHP Version: 8.0.3 (WordPress Version: 5.7; Web Server Info: Apache)
 *  Plugin Author [dgamoni](https://wordpress.org/support/users/dgamoni/)
 * (@dgamoni)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/type-e-error/#post-14238597)
 * Hi [@michailschuch](https://wordpress.org/support/users/michailschuch/)
    plugin
   not tested on php 8 added quick fix on ver 1.4.8
 *  Thread Starter [hellbrueck](https://wordpress.org/support/users/michailschuch/)
 * (@michailschuch)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/type-e-error/#post-14238662)
 * Hi, thanks – unfortunately, it still seems not to work for me. When I choose “
   none” at What do you want load JS? and add to Layers Control and click the “submit”
   button ([https://snipboard.io/ZU21Nc.jpg](https://snipboard.io/ZU21Nc.jpg)), 
   following message appears:
 * Fatal error: Uncaught Error: Non-static method Locate_And_Filter_Admin::locate_anything_sanitaze_option()
   cannot be called statically in /home/.sites/92/site2827622/web/wp-content/plugins/
   locateandfilter/admin/class-locate-and-filter-admin.php:412 Stack trace: #0 /
   home/.sites/92/site2827622/web/wp-includes/class-wp-hook.php(292): Locate_And_Filter_Admin::
   save_options(”) #1 /home/.sites/92/site2827622/web/wp-includes/class-wp-hook.
   php(316): WP_Hook->apply_filters(”, Array) #2 /home/.sites/92/site2827622/web/
   wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /home/.sites/92/site2827622/
   web/wp-admin/admin.php(175): do_action(‘admin_init’) #4 /home/.sites/92/site2827622/
   web/wp-admin/edit.php(10): require_once(‘/home/.sites/92…’) #5 {main} thrown 
   in /home/.sites/92/site2827622/web/wp-content/plugins/locateandfilter/admin/class-
   locate-and-filter-admin.php on line 412
 * Would it be recommendable to return to older php version?
    -  This reply was modified 5 years, 2 months ago by [hellbrueck](https://wordpress.org/support/users/michailschuch/).
 *  Thread Starter [hellbrueck](https://wordpress.org/support/users/michailschuch/)
 * (@michailschuch)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/type-e-error/#post-14238681)
 * On my website, this appears where the map is supposed to be:
    Warning: Undefined
   variable $categoryfilter in /home/.sites/92/site2827622/web/wp-content/plugins/
   locateandfilter/public/partials/locate-and-filter-public-display.php on line 
   19 Warning: Undefined array key “categoryfilter” in /home/.sites/92/site2827622/
   web/wp-content/plugins/locateandfilter/public/class-locate-and-filter-public.
   php on line 296
 *  Plugin Author [dgamoni](https://wordpress.org/support/users/dgamoni/)
 * (@dgamoni)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/type-e-error/#post-14238942)
 * plugin have many deprecated function, it was created five years ago
    it will 
   be fix but not fast because I have not so much free time (aprox 1-3 months ) 
   the best solution now use php 7
 * 2 you can disable WP_DEBUG_DISPLAY on wp-config.php
 * define(‘WP_DEBUG’, true);
    ini_set(‘log_errors’,’On’); ini_set(‘display_errors’,’
   Off’); ini_set(‘error_reporting’, E_ALL ); define(‘WP_DEBUG’, true); define(‘
   WP_DEBUG_LOG’, true); define(‘WP_DEBUG_DISPLAY’, false);
 *  Thread Starter [hellbrueck](https://wordpress.org/support/users/michailschuch/)
 * (@michailschuch)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/type-e-error/#post-14239042)
 * Ok – thanks a lot for your efforts! I will use php version 7.4 in the meanwhile.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Type E Error’ is closed to new replies.

 * ![](https://ps.w.org/locateandfilter/assets/icon-128x128.png?rev=2050267)
 * [LocateAndFilter](https://wordpress.org/plugins/locateandfilter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/locateandfilter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/locateandfilter/)
 * [Active Topics](https://wordpress.org/support/plugin/locateandfilter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/locateandfilter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/locateandfilter/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [hellbrueck](https://wordpress.org/support/users/michailschuch/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/type-e-error/#post-14239042)
 * Status: not resolved