Critical Error
-
Hi, I’ve just started getting the following error on the settings page in admin:
Fatal error: Uncaught Error: Call to undefined function apimatic\jsonmapper\parse_ini_file() in /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce-square/vendor/apimatic/jsonmapper/src/JsonMapper.php:119 Stack trace: #0 /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce-square/vendor/square/square/src/ApiHelper.php(34): apimatic\jsonmapper\JsonMapper->__construct() #1 /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce-square/vendor/square/square/src/ApiHelper.php(120): Square\ApiHelper::getJsonMapper() #2 /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce-square/vendor/square/square/src/Apis/LocationsApi.php(82): Square\ApiHelper::mapClass(Object(Square\Http\HttpRequest), Object(Square\Http\HttpResponse), Object(stdClass), ‘ListLocationsRe…’) #3 [internal function]: Square\Apis\LocationsApi->listLocations() #4 /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce-square/includes/API.php(853): call_user_func_array(Array, Array) #5 /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce-square/includes/API.php(743): WooCommerce\Square\API->do_square_request(Object(Square\Apis\LocationsApi), ‘listLocations’, Array) #6 /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce-square/includes/API.php(613): WooCommerce\Square\API->perform_request(Object(WooCommerce\Square\API\Requests\Locations)) #7 /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce-square/includes/Settings.php(717): WooCommerce\Square\API->get_locations() #8 /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce-square/includes/Settings.php(325): WooCommerce\Square\Settings->get_locations() #9 /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-settings-api.php(87): WooCommerce\Square\Settings->get_form_fields() #10 /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce-square/includes/Admin/Settings_Page.php(86): WC_Settings_API->admin_options() #11 /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce-square/includes/Admin/Settings_Page.php(74): WooCommerce\Square\Admin\Settings_Page->output_general_section() #12 /home/xxxxxxxxx/public_html/wp-includes/class-wp-hook.php(308): WooCommerce\Square\Admin\Settings_Page->output(”) #13 /home/xxxxxxxxx/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #14 /home/xxxxxxxxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #15 /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php(40): do_action(‘woocommerce_set…’) #16 /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(154): include(‘/home/xxxxxxxxx/…’) #17 /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(287): WC_Admin_Settings::output() #18 /home/xxxxxxxxx/public_html/wp-includes/class-wp-hook.php(308): WC_Admin_Menus->settings_page(”) #19 /home/xxxxxxxxx/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #20 /home/xxxxxxxxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #21 /home/xxxxxxxxx/public_html/wp-admin/admin.php(259): do_action(‘woocommerce_pag…’) #22 {main} thrown in /home/xxxxxxxxx/public_html/wp-content/plugins/woocommerce-square/vendor/apimatic/jsonmapper/src/JsonMapper.php on line 119
There has been a critical error on this website. Please check your site admin email inbox for instructions.Any ideas? Thanks!
- The topic ‘Critical Error’ is closed to new replies.