• 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 3 years, 12 months ago by hellbrueck.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter hellbrueck

    (@michailschuch)

    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

    (@dgamoni)

    what is your php version?

    Thread Starter hellbrueck

    (@michailschuch)

    Hi!
    My PHP Version: 8.0.3 (WordPress Version: 5.7; Web Server Info: Apache)

    Plugin Author dgamoni

    (@dgamoni)

    Hi @michailschuch
    plugin not tested on php 8
    added quick fix on ver 1.4.8

    Thread Starter hellbrueck

    (@michailschuch)

    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), 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 3 years, 12 months ago by hellbrueck.
    Thread Starter hellbrueck

    (@michailschuch)

    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

    (@dgamoni)

    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

    (@michailschuch)

    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.