• Hello,

    I have been using the plugin without problem for several months. Today I have a critical error and have to leave the plugin disabled. Could you give me some suggestions (Today I updated other site plugins)?
    Thanks a lot

    23 {main}

    thrown in /home2/mywebsite/public_html/wp-content/plugins/add-polylang-support-for-customizer/includes/class-apsfc.php on line 136
    [24-Aug-2023 17:12:40 UTC] PHP Fatal error: Uncaught Error: Call to undefined function Richardevcom\Apsfc\pll_current_language() in /home2/mywebsite/public_html/wp-content/plugins/add-polylang-support-for-customizer/includes/class-apsfc.php:136
    Stack trace: 0 /home2/mywebsite/public_html/wp-content/plugins/add-polylang-support-for-customizer/includes/class-apsfc.php(250): Richardevcom\Apsfc\Apsfc->get_custom_customizer_option() 1 /home2/mywebsite/public_html/wp-includes/class-wp-hook.php(312): Richardevcom\Apsfc\Apsfc->on_option_theme_mods_get(Array) 2 /home2/mywebsite/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) 3 /home2/mywebsite/public_html/wp-includes/option.php(253): apply_filters(‘option_theme_mo…’, Array, ‘theme_mods_engi…’) 4 /home2/mywebsite/public_html/wp-includes/theme.php(987): get_option(‘theme_mods_engi…’) 5 /home2/mywebsite/public_html/wp-includes/theme.php(1024): get_theme_mods() 6 /home2/mywebsite/public_html/wp-content/plugins/betterdocs/includes/Admin/Customizer/Defaults.php(523): get_theme_mod(‘betterdocs_docs…’, ‘layout-1’) 7 /home2/mywebsite/public_html/wp-content/plugins/betterdocs/includes/FrontEnd/TemplateTags.php(91): WPDeveloper\BetterDocs\Admin\Customizer\Defaults->generate_defaults() 8 /home2/mywebsite/public_html/wp-content/plugins/betterdocs/includes/Dependencies/DI/Definition/Resolver/ObjectCreator.php(146): WPDeveloper\BetterDocs\FrontEnd\TemplateTags->__construct(Object(WPDeveloper\BetterDocs\Core\Settings), Object(WPDeveloper\BetterDocs\Admin\Customizer\Defaults), Object(WPDeveloper\BetterDocs\Core\Query), Object(WPDeveloper\BetterDocs\Utils\Views)) 9 /home2/mywebsite/public_html/wp-content/plugins/betterdocs/includes/Dependencies/DI/Definition/Resolver/ObjectCreator.php(73): WPDeveloper\BetterDocs\Dependencies\DI\Definition\Resolver\ObjectCreator->createInstance(Object(WPDeveloper\BetterDocs\Dependencies\DI\Definition\ObjectDefinition), Array) 10 /home2/mywebsite/public_html/wp-content/plugins/betterdocs/includes/Dependencies/DI/Definition/Resolver/ResolverDispatcher.php(64): WPDeveloper\BetterDocs\Dependencies\DI\Definition\Resolver\ObjectCreator->resolve(Object(WPDeveloper\BetterDocs\Dependencies\DI\Definition\ObjectDefinition), Array) 11 /home2/mywebsite/public_html/wp-content/plugins/betterdocs/includes/Dependencies/DI/Container.php(377): WPDeveloper\BetterDocs\Dependencies\DI\Definition\Resolver\ResolverDispatcher->resolve(Object(WPDeveloper\BetterDocs\Dependencies\DI\Definition\ObjectDefinition), Array) 12 /home2/mywebsite/public_html/wp-content/plugins/betterdocs/includes/Dependencies/DI/Container.php(138): WPDeveloper\BetterDocs\Dependencies\DI\Container->resolveDefinition(Object(WPDeveloper\BetterDocs\Dependencies\DI\Definition\ObjectDefinition)) 13 /home2/mywebsite/public_html/wp-content/plugins/betterdocs/includes/Plugin.php(231): WPDeveloper\BetterDocs\Dependencies\DI\Container->get(‘WPDeveloper\Bet…’) 14 /home2/mywebsite/public_html/wp-content/plugins/betterdocs/includes/Plugin.php(158): WPDeveloper\BetterDocs\Plugin->initialize() 15 /home2/mywebsite/public_html/wp-content/plugins/betterdocs/includes/Plugin.php(46): WPDeveloper\BetterDocs\Plugin->__construct() 16 /home2/mywebsite/public_html/wp-content/plugins/betterdocs/betterdocs.php(38): WPDeveloper\BetterDocs\Plugin::get_instance() 17 /home2/mywebsite/public_html/wp-content/plugins/betterdocs/betterdocs.php(51): betterdocs() 18 /home2/mywebsite/public_html/wp-settings.php(462): include_once(‘/home2/mywebsit…’) 19 /home2/mywebsite/public_html/wp-config.php(78): require_once(‘/home2/mywebsit…’) 20 /home2/mywebsite/public_html/wp-load.php(50): require_once(‘/home2/mywebsit…’) 21 /home2/mywebsite/public_html/wp-blog-header.php(13): require_once(‘/home2/mywebsit…’) 22 /home2/mywebsite/public_html/index.php(17): require(‘/home2/mywebsit…’) 23 {main}

    thrown in /home2/mywebsite/public_html/wp-content/plugins/add-polylang-support-for-customizer/includes/class-apsfc.php on line 136

  • The topic ‘Critical Error’ is closed to new replies.