Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter jhmaths

    (@jhmaths)

    Hi Gazchap, thanks for sorting that last issue. I just checked and the API key is correct and hasn’t expired. We’ve got another issue now unfortunately. This fatal error just occurred, I’m not sure if this is the same thing as before or something different?

    2024-10-02T09:13:23+00:00Critical Uncaught TypeError: Exception::__construct(): Argument #2 ($code) must be of type int, string given in /home/customer/www/mightykidssupplements.co.uk/public_html/wp-content/plugins/gazchaps-woocommerce-getaddress-io/class.exception.php:11 Additional context{ “error”: { “type”: 1, “file”: “/home/customer/www/mightykidssupplements.co.uk/public_html/wp-content/plugins/gazchaps-woocommerce-getaddress-io/class.exception.php”, “line”: 11 }, “backtrace”: [ “”, “#0 /home/customer/www/mightykidssupplements.co.uk/public_html/wp-content/plugins/gazchaps-woocommerce-getaddress-io/class.exception.php(11): Exception->__construct(‘cURL error 6: g…’, ‘http_request_fa…’, NULL)”, “#1 /home/customer/www/mightykidssupplements.co.uk/public_html/wp-content/plugins/gazchaps-woocommerce-getaddress-io/class.api-client.php(61): GazChap_WC_GetAddress_Plugin_Exception->__construct(Object(WP_Error), ‘cURL error 6: g…’, ‘http_request_fa…’)”, “#2 /home/customer/www/mightykidssupplements.co.uk/public_html/wp-content/plugins/gazchaps-woocommerce-getaddress-io/class.api-client.php(24): GazChap_WC_GetAddress_Plugin_API::request(‘autocomplete’, ‘E164DQ’, Array)”, “#3 /home/customer/www/mightykidssupplements.co.uk/public_html/wp-content/plugins/gazchaps-woocommerce-getaddress-io/class.common.php(24): GazChap_WC_GetAddress_Plugin_API::autocomplete(‘E164DQ’)”, “#4 /home/customer/www/mightykidssupplements.co.uk/public_html/wp-content/plugins/gazchaps-woocommerce-getaddress-io/class.checkout.php(20): GazChap_WC_GetAddress_Plugin_Common::lookup_postcode(‘E164DQ’, ‘billing’)”, “#5 /home/customer/www/mightykidssupplements.co.uk/public_html/wp-includes/class-wp-hook.php(324): GazChap_WC_GetAddress_Plugin_Checkout->do_postcode_lookup(”)”, “#6 /home/customer/www/mightykidssupplements.co.uk/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)”, “#7 /home/customer/www/mightykidssupplements.co.uk/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)”, “#8 /home/customer/www/mightykidssupplements.co.uk/public_html/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_gazchap…’)”, “#9 {main}”, “thrown” ] }

    +1

    Good to hear you’re working on it!

    Thread Starter jhmaths

    (@jhmaths)

    It’s not showing as broken anymore, thanks again for your help David.

    Thread Starter jhmaths

    (@jhmaths)

    This is in both GP and GP child styles.css

    Thread Starter jhmaths

    (@jhmaths)

    /*
    
    Theme Name: GeneratePress
    
    Theme URI: https://generatepress.com
    
    Author: Tom Usborne
    
    Author URI: https://tomusborne.com
    
    Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
    
    Version: 3.3.1
    
    Requires at least: 5.2
    
    Tested up to: 6.3
    
    Requires PHP: 5.6
    
    License: GNU General Public License v2 or later
    
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    
    Text Domain: generatepress
    
    Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, footer-widgets, blog, e-commerce, flexible-header, full-width-template, buddypress, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, rtl-language-support, featured-images, theme-options
    
    GeneratePress, Copyright 2014-2023 EDGE22 Studios LTD.
    
    GeneratePress is distributed under the terms of the GNU GPL
    
    GeneratePress is based on Underscores http://underscores.me/, (C) 2012-2022 Automattic, Inc.
    
    Actual CSS can be found in /assets/css/ folder.
    
    */
    Thread Starter jhmaths

    (@jhmaths)

    Thank you David. I’m a bit nervous about this now as I’m not very experienced with this sort of thing. So are you saying that if I copy and paste that header and put it at the very top of the styles.css file in my child theme folder then that will resolve this issue?

    How did this issue arise? Is this something that’s supposed to be done when creating a child theme?

    Thanks.

    Thread Starter jhmaths

    (@jhmaths)

    Great that worked! Thank you. Can I do the same for shipping address? I read that some people are reluctant to use css like this, can it cause performance issues or something?

    Thread Starter jhmaths

    (@jhmaths)

    By the way it’s set to UK only anyway so it doesn’t even give the customer an option

    Thread Starter jhmaths

    (@jhmaths)

    I managed to work around that problem but now I’m having problems with tooltips on mobiles, I’m using the text as links and the previews don’t work on hover on mobile, so is it possible to disable the tooltips on mobile devices?
    Thanks

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