Issue with Rankmath GTIN
-
If I use rank math and enter GTIN details then the whole product page crashes and I can’t seem to add it. I tried disabling all the other plugins and only keeping rank math and WC Field Factory and found out that the plugin clashes with Rank Math.
Attaching a video of how it bugs out.
https://jumpshare.com/v/sLwW8Z9oAiIAYAI5ZsEd
This keeps happening when you try to add GTIN number. The auto scroll and then The page needs to be refreshed.Please look into it. We are using your plugin on our website envi.in and it causes a lot of issues to add GTIN details.
-
This topic was modified 4 years, 4 months ago by
nawafgantare.
-
This topic was modified 4 years, 4 months ago by
nawafgantare.
-
This topic was modified 4 years, 4 months ago by
-
Hi,
I tried to replicate your issue on my local machine, I installed
Rank Math - 1.0.80but GTIN option is for PRO version only, I think. so I couldn’t test it fully.If it is possible please provide another video capturing with your browser’s console window opened, that way we can identify any JS exception is happening or not.
Also try to look into your apache
error.logfile, there we may get a hint, whats causing the issue.Hey,
Here is the video with the console. There is no error shown.
https://jumpshare.com/v/M0MDOAnmD00brVHs31AG
Looked at the error log aswell. No error regarding your plugin. This is the log for yesterday.
[14-Jan-2022 08:07:48 UTC] PHP Warning: current() expects parameter 1 to be array, null given in /home/enviin/public_html/wp-content/plugins/wc-smart-cod-pro/public/class-wc-smart-cod-public.php on line 795 [14-Jan-2022 08:07:48 UTC] PHP Warning: current() expects parameter 1 to be array, null given in /home/enviin/public_html/wp-content/plugins/wc-smart-cod-pro/public/class-wc-smart-cod-public.php on line 795 [14-Jan-2022 10:17:49 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM s1ehI_options WHERE option_name = 'wsal_adapter-type' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WpSecurityAuditLog->close_external_connection, WpSecurityAuditLog->GetGlobalSetting, WSAL\Helpers\Options->get_option_value, WSAL\Helpers\Options::_get_option_value, get_option [14-Jan-2022 10:18:35 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM s1ehI_options WHERE option_name = 'wsal_adapter-type' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WpSecurityAuditLog->close_external_connection, WpSecurityAuditLog->GetGlobalSetting, WSAL\Helpers\Options->get_option_value, WSAL\Helpers\Options::_get_option_value, get_option [14-Jan-2022 13:38:30 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM s1ehI_options WHERE option_name = 'wsal_adapter-connection' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WSAL_AlertManager->_CommitPipeline, WSAL_AlertManager->_CommitItem, WSAL_Sensors_Content->ignore_other_post_events, WSAL_Sensors_Content->was_triggered_recently, WSAL_Models_OccurrenceQuery->__construct, WSAL_Models_Query->getConnector, WSAL_Connector_ConnectorFactory::GetConnector, WSAL_Connector_ConnectorFactory::GetConfig, WpSecurityAuditLog->GetGlobalSetting, WSAL\Helpers\Options->get_option_value, WSAL\Helpers\Options::_get_option_value, get_option [14-Jan-2022 13:38:30 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT s1ehI_wsal_occurrences.* FROM s1ehI_wsal_occurrences ORDER BY created_on DESC LIMIT 5 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WSAL_AlertManager->_CommitPipeline, WSAL_AlertManager->_CommitItem, WSAL_Sensors_Content->ignore_other_post_events, WSAL_Sensors_Content->was_triggered_recently, WSAL_Adapters_MySQL_Query->Execute, WSAL_Adapters_MySQL_ActiveRecord->LoadMulti [14-Jan-2022 13:38:30 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT s1ehI_wsal_occurrences.* FROM s1ehI_wsal_occurrences ORDER BY created_on DESC LIMIT 5 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WSAL_AlertManager->_CommitPipeline, WSAL_AlertManager->_CommitItem, WSAL_Sensors_Content->ignore_other_post_events, WSAL_Sensors_Content->was_triggered_recently, WSAL_Adapters_MySQL_Query->Execute, WSAL_Adapters_MySQL_ActiveRecord->LoadMulti [14-Jan-2022 13:38:30 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM s1ehI_options WHERE option_name = 'wsal_adapter-type' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WpSecurityAuditLog->close_external_connection, WpSecurityAuditLog->GetGlobalSetting, WSAL\Helpers\Options->get_option_value, WSAL\Helpers\Options::_get_option_value, get_optionAlso try CTX Feed plugin. We use that plugin aswell to add custom data to the product Schema
-
This reply was modified 4 years, 3 months ago by
nawafgantare.
-
This reply was modified 4 years, 3 months ago by
nawafgantare.
I tested with both, Rankmath(free version) & CTX Feed, couldn’t replicate the issue you are experiencing.
My guess is, both CTX Feed & Rankmath share some features, like GTIN and other product meta configurations.
So both plugin has some overlapping functionality which might cause the issue.
Please disable GTIN custom field on CTX setting page, then try again.If nothing happens, disable all plugins except WC & Rankmath and see if the issue still exist.
Otherwise let me know if I can help you inspect your site.
I tested in troubleshoot mode with only WC and rank math and that is how I came to know about the bug.
I can give you access to the staging environment so you can test it live. Please tell me how can I share the details.
You have one required admin field, without giving any value for that field and attempting to save the product will fail, as the validation is failed.
No issue with the plugin, except no validation message is shown, which will be updated in the upcoming releases.
Thank you soo much. @mycholan
When can I expect the release? Currently, I have to use troubleshoot mode in order to add GTIN field for the products.
Also what is that required field?
-
This reply was modified 4 years, 3 months ago by
nawafgantare.
go to
wp-admin/ thereFields Factory -> Admin Fields -> Your admin fields groupThere click on the field that you need to disable required property.
In the config view you will see option called “Required” for disabling it click on “No” option and then update. -
This reply was modified 4 years, 3 months ago by
The topic ‘Issue with Rankmath GTIN’ is closed to new replies.