Forum Replies Created

Viewing 15 replies - 1 through 15 (of 112 total)
  • Thread Starter freddyeee

    (@freddyeee)

    Hi

    When I clic on the button “Add field mapping”, nothing happens and this is the issue on the Console brower:

    JQMIGRATE: Migrate is installed, version 3.4.1

    POST https://www.runayaq.com/wp-admin/admin-ajax.php 400 (Bad Request)

    Failed AJAX Call :( /// Return Data: [object Object]




    Thread Starter freddyeee

    (@freddyeee)

    I still can′t add any field mapping, what could be the issue ?

    Forum: Fixing WordPress
    In reply to: CORS issues
    Thread Starter freddyeee

    (@freddyeee)

    also, my server is apache, but I have NGINX cache, do I have to deactivate that cache with this code ?

    location / { # Replace / with your desired location path if needed
    if ($http_origin ~* https://gtm\.runayaq\.com) {
    add_header 'Access-Control-Allow-Origin' "$http_origin";
    add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
    add_header 'Access-Control-Allow-Headers'
    'X-Requested-With, Content-Type,
    Accept';
    }
    # Your other location configuration goes here...
    }
    Forum: Fixing WordPress
    In reply to: CORS issues
    Thread Starter freddyeee

    (@freddyeee)

    Thank you very much

    location / { # Replace / with your desired location path if needed

    what should I use for location ? could you please explain a little bit with an example ?

    Forum: Fixing WordPress
    In reply to: CORS issues
    Thread Starter freddyeee

    (@freddyeee)

    Thank very much, but I use NGINX cache, what other option do I have without deactivating that cache ?

    Forum: Fixing WordPress
    In reply to: CORS issues
    Thread Starter freddyeee

    (@freddyeee)

    I think that there was some problem with the firewall with one security plugin, I fixed it. could you please check again ?

    For the server side tracking with GTM I need a subdomain, that’s why.

    Thread Starter freddyeee

    (@freddyeee)

    what could the reason on having that issue on my end ?

    Thread Starter freddyeee

    (@freddyeee)

    I don’t see that option to hide on desktop and tablet.

    I did it on this widget part :

    Over here it will appears on the footer a big title and under that the subcategories. I can’t do the “collapse sub menu items” to that.

    Thread Starter freddyeee

    (@freddyeee)

    do I need the pro version to do all that ?

    Thread Starter freddyeee

    (@freddyeee)

    My themes are updated. A couple of plugins are not updated, because they are premium and my licenses expired, but in the troubleshooting mode with a plugin, the error remains with all the plugins disabled, that’s why I thought the issue is not related to any plugin, what do you think ?

    This is the Classic theme:

    Forum: Fixing WordPress
    In reply to: Can’t edit pages
    Thread Starter freddyeee

    (@freddyeee)

    I get the same message for TwentyTwentyFour theme:

    Deprecated: Function wc_get_log_file_path is deprecated since version 8.6.0 with no alternative available. in /home/customer/www/runayaq.com/public_html/wp-includes/functions.php on line 6085

    When I change to Classic theme I get this message:

    Notice: Function register_sidebar was called incorrectly. The ID id has not been defined in the argument matrix for the sidebar “Sidebar 1”. Using by default “sidebar-1”. Manually set the ID id to “sidebar-1” in order to silence this message and maintain the current content of the sidebar. Please visit Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /home / customer / www / runayaq.com / public_html / wp-includes / functions.php on line 6085

    Warning: Cannot modify header information – headers already sent by (output started at / home / customer / www / runayaq.com / public_html / wp-includes / functions.php: 6085) in /home / customer / www / runayaq.com / public_html / wp-admin / includes / misc.php on line 1438
    Edit page

    • This reply was modified 2 months, 3 weeks ago by freddyeee.
    Forum: Fixing WordPress
    In reply to: Can’t edit pages
    Thread Starter freddyeee

    (@freddyeee)

    A couple of plugins are not updated, because they are premium and my licenses expired, but in the troubleshooting mode the error remains with all the plugins disabled, that’s why I thought the issue is not related to any plugin.
    The theme is updated

    I enabled the display of errors and I got this text when I try to edit any page:
    Deprecated: Function wc_get_log_file_path is deprecated since version 8.6.0 with no alternative available. in /home/customer/www/runayaq.com/public_html/wp-includes/functions.php on line 6085

    Thread Starter freddyeee

    (@freddyeee)

    I have the same issue in other browsers and incognito.

    In console log I get this errors for the blank page when I’m trying to edit: https://we.tl/t-tB1kfulzBc

    Forum: Fixing WordPress
    In reply to: Can’t edit pages
    Thread Starter freddyeee

    (@freddyeee)

    I found this errors :

    https://we.tl/t-tB1kfulzBc

    Thread Starter freddyeee

    (@freddyeee)

    Thanks for your response. I managed to get it done using this snippet:

    add_action('woocommerce_before_checkout_billing_form', 'limit_checkout_countries');
    add_action('woocommerce_before_checkout_shipping_form', 'limit_checkout_countries');

    function limit_checkout_countries() {
    // Get customer location using WooCommerce geolocation
    $customer_country = WC_Geolocation::geolocate_ip();

    // If the client's location cannot be determined, use the default country
    if (empty($customer_country['country'])) {
    $customer_country['country'] = WC()->countries->get_base_country();
    }

    // Filters the countries available for billing and shipping
    add_filter('woocommerce_countries_allowed_countries', function($countries) use ($customer_country) {
    return array($customer_country['country'] => $countries[$customer_country['country']]);
    });
    }

    which code would be the most efficient way ?

Viewing 15 replies - 1 through 15 (of 112 total)