beamkiller
Forum Replies Created
-
Same kind of issue here.
TurnstileError: [Cloudflare Turnstile] Invalid type for "container", expected "selector" or an implementation of "HTMLElement", got "#cf-turnstile-wpd-wpdiscuzuniqueid". at m (https://challenges.cloudflare.com/turnstile/v0/api.js?render=auto:1:10471) at Object.P (https://challenges.cloudflare.com/turnstile/v0/api.js?render=auto:1:29392) at HTMLDocument.<anonymous> (https://calisthenics.com/best-calisthenics-apps/:819:21) at e (https://calisthenics.com/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028) at t (https://calisthenics.com/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)- This reply was modified 2 months, 2 weeks ago by beamkiller.
Hi @miguelrm , @jaideeprm , @jeremrm
I have succesfully deleted the data from postmeta but this is only the first part of the solution.— STEP 1: Remove ALL news sitemap robots meta (module not active)
DELETE FROM wp_postmeta
WHERE meta_key = ‘rank_math_news_sitemap_robots’;
— Expected: ~1,464,080 rows affected— STEP 2: Remove robots meta for attachments only
DELETE pm FROM wp_postmeta pm
JOIN pqkdfn_posts p ON pm.post_id = p.ID
WHERE pm.meta_key = ‘rank_math_robots’
AND p.post_type = ‘attachment’;
— Expected: ~1,330,038 rows affected— STEP 3: Reclaim disk space after cleanup
OPTIMIZE TABLE wp_postmeta;Can you please fix that the metas are not auto-created by default when the News Sitemap is disabled?
And also when the Redirect Attachments option is turned on in that case we dont need the rank_math_robots on attachment post type.
If you cant fix this do you have a hook where I can disable these metas for the attachment post type?
Thanks.- This reply was modified 2 months, 3 weeks ago by beamkiller.
So,
I have checked the DB again.
There are no duplicate rows:SELECT post_id, meta_key, COUNT() AS count FROM wp_postmeta WHERE meta_key IN ('rank_math_news_sitemap_robots', 'rank_math_robots') GROUP BY post_id, meta_key HAVING COUNT() > 1
ORDER BY count DESC
LIMIT 100;This returned as empty.
Then I checked the lines again:SELECT meta_key, COUNT(*) AS total_rows
FROM wp_postmeta
WHERE meta_key IN ('rank_math_news_sitemap_robots', 'rank_math_robots')
GROUP BY meta_key;1,466,180 rows for
rank_math_news_sitemap_robots1,466,181 rows for
rank_math_robotsThen I checked a query for the post types, and the attachments is huge.
SELECT p.post_type, pm.meta_key, COUNT(*) AS total_rows
FROM wp_postmeta pm
JOIN wp_posts p ON pm.post_id = p.ID
WHERE pm.meta_key IN ('rank_math_news_sitemap_robots', 'rank_math_robots')
GROUP BY p.post_type, pm.meta_key
ORDER BY total_rows DESC;Which returned:
attachment rank_math_robots1,330,038attachment rank_math_news_sitemap_robots1,330,038product rank_math_robots136,086product rank_math_news_sitemap_robots136,085page rank_math_news_sitemap_robots42page rank_math_robots42blocks rank_math_robots12blocks rank_math_news_sitemap_robots12post rank_math_robots3post rank_math_news_sitemap_robots3
We have many images for products, do we need those metas on the images too if everything can be indexed, no other behavior is needed.
We need to somehow optimise this.
And also we need to solve that therank_math_news_sitemap_robotsis not created when new image, etc is added when the feature is off.
Thanks.- This reply was modified 3 months ago by beamkiller.
Updating to the newest version solved the issue.
Thanks for the fast reply.
Waiting for the solution 🙂
2nd question:
If adding a Gemini API Key only these 2 models are shown.
Is this a limitation in your plugin or I need to enable something in the Google Cloud Console?
https://snipboard.io/2DnMT3.jpgSame issue here:
Just this message in the Single Post tempate: Loading..I have found the issue. I had an old code which override the billing fields and the return was null.
add_filter( ‘woocommerce_billing_fields’, ‘misha_remove_fields’ );
function misha_remove_fields( $fields ) {
if (is_page(979)){
unset( $fields[ ‘billing_tax_number’ ][‘required’] );
return $fields;
}
}
Hi! Thanks.
I am attaching the Preset IDs, so it is available to others too if they search it for here.- default -> 1
- course -> 2
- simple -> 3
- minimal -> 4
- youtube optimized -> 5
Hi,
The problem with this is that the Free version does not allow creating Presets.
So this is not a solution for the Free version.So my question is that is there a way to enable LazyLoad optimized for the shortcode in the Free version other then Preset ID?
+1 for this! 🙂
Hi,
Thanks for the suggestion.
I have added it via CSS so it is update-proof.function add_custom_currency_css_to_admin() { ?> <style type="text/css"> div[id*="woocs_tab_fixed_"]{ display:block !important; } </style> <?php } add_action('admin_head', 'add_custom_currency_css_to_admin');Hi,
Thanks for suggestion. There is no WPML.
But based on this input I managed to find the error.
There were wrong translations in Loco Translate where the variable string for PHP had spaces in it.
For example: %1$s
Was like this: % 1 $ s
Thanks.- This reply was modified 2 years, 5 months ago by beamkiller.
I would also like to see some solution for this.
For example block the logging all of the marketing emails which are sent out. But log everything regarding the system messages (WooCommerce Subs, etc.)Hi Bastien,
Glad it helped.
I hope you can solve the issue 🙂Thank you 🙂