freddyeee
Forum Replies Created
-
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]
I still can′t add any field mapping, what could be the issue ?
Forum: Fixing WordPress
In reply to: CORS issuesalso, 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 issuesThank 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 issuesThank very much, but I use NGINX cache, what other option do I have without deactivating that cache ?
Forum: Fixing WordPress
In reply to: CORS issuesI 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.
Forum: Plugins
In reply to: [Price Based on Country for WooCommerce] Price doesn’t appearwhat could the reason on having that issue on my end ?
Forum: Themes and Templates
In reply to: [Kadence] footer mobile versionI 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.
Forum: Themes and Templates
In reply to: [Kadence] footer mobile versiondo I need the pro version to do all that ?
Forum: Plugins
In reply to: [WooCommerce] Can’t edit pagesMy 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 pagesI 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 IDid
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 6085Warning: 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 pagesA 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 updatedI 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 6085Forum: Themes and Templates
In reply to: [Kadence] Can’t edit pages and footerI 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 pagesI found this errors :
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 ?