WPIntell

Source evidence

new issues v.1.4.2 – CF7 fields not saving

Message Filter for Contact Form 7 · support · 2022-12-14T17:32:00+00:00

complaintsentiment
highseverity
1.0relevance
22replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 32 rows with source links

15.6% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

27 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
e dev unresolved
form fields added to list: https://snipboard.io/RMmYzr.jpg after saving the page, they vanish: https://snipboard.io/iHLC1E.jpg thanks @efishinsea . Will look at it asap Please try deactivating and activating the plugin again. this was a brand-new install usage, so it was activated the first time. @kofimokome While I know you have the best of intentions, it’s forum policy that you not ask users for admin or server access. Users on the forums aren’t your customers, they’re your open source collaborators, and requesting that kind of access can put you and them at high risk. If they are paying customers (such as people who bought a premium service/product from you) then by all means, direct them to your official customer support system. But in all other cases, you need to help them here on the forums. Thankfully are other ways to get information you need: Ask the user to install the Health Check plugin and get the data that way. Ask for a link to the http://pastebin.com/ or https://gist.github.com log of the user’s web server error log. Ask the user to create and post a link to their phpinfo(); output. Walk the user through enabling WP_DEBUG and how to log that output to a file and how to share that file. Walk the user through basic troubleshooting steps such and disabling all other plugins, clear their cache and cookies and try again (the Health Check plugin can do this without impacting any site vistors). Ask the user for the step-by-step directions on how they can reproduce the problem. You get the idea. We know volunteer support is not easy, and this guideline can feel needlessly restrictive. It’s actually there to protect you as much as end users. Should their site be hacked or have any issues after you accessed it, you could be held legally liable for damages. In addition, it’s difficult for end users to know the difference between helpful developers and people with malicious intentions. Because of that, we rely on plugin developers and long-standing volunteers (like you) to help us and uphold this particular guideline. When you help users here and in public, you also help the next person with the same problem. They’ll be able to read the debugging and solution and educate themselves. That’s how we get the next generation of developers. @kofimokome and once more for you https://wordpress.org/support/guidelines/#the-bad-stuff Just to be sure, 1. Is it the first time the plugin was installed on the site? 2. Are you using the free or paid version? 3. Try deactivating other plugins. Then try to save the data again. In addition, please follow the steps from @fierevere above (the first message) and let me know if you still have the same problem. 1. Yes, the first time 2. no, I would not pay for something like this that is in such a state of development simply to get it to function 3. I have already tried that. I’ve been trying to be helpful for you as I like the idea of this plugin, and in some cases, it seems to catch spammy submissions. Since you released the “Free” version with updates and started pushing the “Pro” version to get the functionality it previously had for free, things with this version have changed, but not improved much. There still seem to be many things that need to be worked out to make this a dependable plugin that can be installed and relied on. So far, I have tried to reproduce the error on a new WordPress site to no avail. I will keep trying and will let you know. Thanks again for your help and for being honest. I appreciate it. I just encountered the same problem on another site where the plugin was previously installed. Same issues in that the fields added to CF7 do not appear after saving them. If you look into the code on the page, I do see some fields in a TEXTAREA there (kmcfmf_tags_by_name) that are not visible, so it does seem they are getting saved, but not making it back into the kmcfmf_tags_by_name-selectized input. Unrelated, for messages that are caught, when clicking VIEW, you should be able to see the date/time they were caught somewhere. That important data is not there. Please can you check your console for any errors? It could an error from the javascript tag plugin Do you have a caching plugin installed? if yes, which plugin? This reply was modified 3 years, 5 months ago by Kofi Mokome . no console errors, no caching. please can you send the values you see in the text input when you inspect the html? Or a screenshot if possible? If I add a new field called “random-field” it will show up in your code like this:` <textarea name='kmcfmf_tags_by_name' id='kmcfmf_tags_by_name' cols='80' rows='8' placeholder='' class='select2' autocomplete='on'>full-name,random-field</textarea> I cannot keep debugging this for you. please do some testing before releasing the fixed plugin. I see your problem, you are trying to add a field that does not exist on any of your forms. You are supposed to select the fields from the dropdown or manually input a field that is present on one of your forms. Anyway, I will update the plugin to allow fields that are not part of any form. This was added to prevent a user from entering an incorrect field. Trust me, I tried that. the ‘random-field’ test was only to show that it wasn’t working. On the new site i have 4 forms with ‘your-name’ as a text field, and that, nor anything else I add will stick. Good luck fixing this. By the way, if you can only enter existing fields from existing forms, why should any typing be required at all? If you are looking up or comparing those fields to begin with, just put them on the screen as choices to remove any guessing. Some instructions might be useful too. There is a dropdown with all the fields for that category ( see picture below ). https://drive.google.com/file/d/16nSyOa1hKeYXmWf7pgWqHziB_Bid6baf/view?usp=share_link That dropdown has not been my experience on any of the sites where I have this installed. I only see what I type in. So, if it works for you/some, it doesn’t work everywhere, so is broken. Also, you have an error with this file you have included and are using that needs to be fixed: File: \freemius\includes\managers\class-fs-admin-menu-manager.php -------- Notice / Error: Notice: Function add_menu_page was called incorrectly. The seventh parameter passed to add_menu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 6.0.0.) in \wp-includes\functions.php on line 5835 Notice: Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in \wp-includes\functions.php on line 5835 Notice: Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in \wp-includes\functions.php on line 5835 Notice: Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in \wp-includes\functions.php on line 5835 Freemius is the third party I use to manage subscriptions. The reason for the pro version was to use the money to pay someone to help me with the development. I will just kill the pro version and put back the plugin the way it was before. This will imply that I will take more time to reply and fix the issues raised. I also have another plugin that needs my attention. Finally, I am trying to wrap up my thesis in school, plus other commitments. I will do my best to solve the issues as fast as I can. I have released an update that fixes the disappearing fields. I have also added the date/time a message was caught. (pls ignore the typo) confirm that the fix worked and fields are saving now. thanks Please on which sites did you install the plugin? What are their WordPress versions? I would like to debug the issue with Freemius Hi Kofimokome, Thank you for developing the Message Filter for Contact Form 7 plugin which I installed recently. It is just what I was needing to stop a hacker in Russia that was spamming my contact form. May I suggest a possible improvement. I entered some spam words but they seem to affect all types of fields. If for example I would like to stop .co.uk in a text field, it would also stop email addresses in an email field. Perhaps having different spam word sections for different field types would be useful? The spammer hitting me is using different id numbers in the text field so I would like to put in a spam word that looks for wild cards in a string, ie “id=****” (would block anything like id=1234). These are only little refinements that may or may not be possible, but your plugin is excellent and you have done a great job! Thank you for your helpful work. Ok, thank you for your suggestions. I will look into it.

Comments

22 shown
Kofi Mokome 2022-12-14T21:27:00+00:00

thanks @efishinsea . Will look at it asap

Kofi Mokome 2022-12-14T21:35:00+00:00

Please try deactivating and activating the plugin again.

e dev 2022-12-14T21:51:00+00:00

this was a brand-new install usage, so it was activated the first time.

Yui 2022-12-15T07:59:00+00:00

@kofimokome While I know you have the best of intentions, it’s forum policy that you not ask users for admin or server access. Users on the forums aren’t your customers, they’re your open source collaborators, and requesting that kind of access can put you and them at high risk. If they are paying customers (such as people who bought a premium service/product from you) then by all means, direct them to your official customer support system. But in all other cases, you need to help them here on the forums. Thankfully are other ways to get information you need: Ask the user to install the Health Check plugin and get the data that way. Ask for a link to the http://pastebin.com/ or https://gist.github.com log of the user’s web server error log. Ask the user to create and post a link to their phpinfo(); output. Walk the user through enabling WP_DEBUG and how to log that output to a file and how to share that file. Walk the user through basic troubleshooting steps such and disabling all other plugins, clear their cache and cookies and try again (the Health Check plugin can do this without impacting any site vistors). Ask the user for the step-by-step directions on how they can reproduce the problem. You get the idea. We know volunteer support is not easy, and this guideline can feel needlessly restrictive. It’s actually there to protect you as much as end users. Should their site be hacked or have any issues after you accessed it, you could be held legally liable for damages. In addition, it’s difficult for end users to know the difference between helpful developers and people with malicious intentions. Because of that, we rely on plugin developers and long-standing volunteers (like you) to help us and uphold this particular guideline. When you help users here and in public, you also help the next person with the same problem. They’ll be able to read the debugging and solution and educate themselves. That’s how we get the next generation of developers.

Yui 2022-12-15T09:19:00+00:00

@kofimokome and once more for you https://wordpress.org/support/guidelines/#the-bad-stuff

Kofi Mokome 2022-12-15T10:44:00+00:00

Just to be sure, 1. Is it the first time the plugin was installed on the site? 2. Are you using the free or paid version? 3. Try deactivating other plugins. Then try to save the data again. In addition, please follow the steps from @fierevere above (the first message) and let me know if you still have the same problem.

e dev 2022-12-15T15:09:00+00:00

1. Yes, the first time 2. no, I would not pay for something like this that is in such a state of development simply to get it to function 3. I have already tried that. I’ve been trying to be helpful for you as I like the idea of this plugin, and in some cases, it seems to catch spammy submissions. Since you released the “Free” version with updates and started pushing the “Pro” version to get the functionality it previously had for free, things with this version have changed, but not improved much. There still seem to be many things that need to be worked out to make this a dependable plugin that can be installed and relied on.

Kofi Mokome 2022-12-15T15:27:00+00:00

So far, I have tried to reproduce the error on a new WordPress site to no avail. I will keep trying and will let you know. Thanks again for your help and for being honest. I appreciate it.

e dev 2022-12-15T15:56:00+00:00

I just encountered the same problem on another site where the plugin was previously installed. Same issues in that the fields added to CF7 do not appear after saving them. If you look into the code on the page, I do see some fields in a TEXTAREA there (kmcfmf_tags_by_name) that are not visible, so it does seem they are getting saved, but not making it back into the kmcfmf_tags_by_name-selectized input. Unrelated, for messages that are caught, when clicking VIEW, you should be able to see the date/time they were caught somewhere. That important data is not there.

Kofi Mokome 2022-12-15T16:54:00+00:00

Please can you check your console for any errors? It could an error from the javascript tag plugin Do you have a caching plugin installed? if yes, which plugin? This reply was modified 3 years, 5 months ago by Kofi Mokome .

e dev 2022-12-15T19:54:00+00:00

no console errors, no caching.

Kofi Mokome 2022-12-15T19:57:00+00:00

please can you send the values you see in the text input when you inspect the html? Or a screenshot if possible?

e dev 2022-12-15T20:23:00+00:00

If I add a new field called “random-field” it will show up in your code like this:` <textarea name='kmcfmf_tags_by_name' id='kmcfmf_tags_by_name' cols='80' rows='8' placeholder='' class='select2' autocomplete='on'>full-name,random-field</textarea> I cannot keep debugging this for you. please do some testing before releasing the fixed plugin.

Kofi Mokome 2022-12-15T20:45:00+00:00

I see your problem, you are trying to add a field that does not exist on any of your forms. You are supposed to select the fields from the dropdown or manually input a field that is present on one of your forms. Anyway, I will update the plugin to allow fields that are not part of any form. This was added to prevent a user from entering an incorrect field.

e dev 2022-12-15T21:47:00+00:00

Trust me, I tried that. the ‘random-field’ test was only to show that it wasn’t working. On the new site i have 4 forms with ‘your-name’ as a text field, and that, nor anything else I add will stick. Good luck fixing this. By the way, if you can only enter existing fields from existing forms, why should any typing be required at all? If you are looking up or comparing those fields to begin with, just put them on the screen as choices to remove any guessing. Some instructions might be useful too.

Kofi Mokome 2022-12-16T08:47:00+00:00

There is a dropdown with all the fields for that category ( see picture below ). https://drive.google.com/file/d/16nSyOa1hKeYXmWf7pgWqHziB_Bid6baf/view?usp=share_link

e dev 2022-12-16T18:30:00+00:00

That dropdown has not been my experience on any of the sites where I have this installed. I only see what I type in. So, if it works for you/some, it doesn’t work everywhere, so is broken. Also, you have an error with this file you have included and are using that needs to be fixed: File: \freemius\includes\managers\class-fs-admin-menu-manager.php -------- Notice / Error: Notice: Function add_menu_page was called incorrectly. The seventh parameter passed to add_menu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 6.0.0.) in \wp-includes\functions.php on line 5835 Notice: Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in \wp-includes\functions.php on line 5835 Notice: Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in \wp-includes\functions.php on line 5835 Notice: Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in \wp-includes\functions.php on line 5835

Kofi Mokome 2022-12-17T19:34:00+00:00

Freemius is the third party I use to manage subscriptions. The reason for the pro version was to use the money to pay someone to help me with the development. I will just kill the pro version and put back the plugin the way it was before. This will imply that I will take more time to reply and fix the issues raised. I also have another plugin that needs my attention. Finally, I am trying to wrap up my thesis in school, plus other commitments. I will do my best to solve the issues as fast as I can. I have released an update that fixes the disappearing fields. I have also added the date/time a message was caught. (pls ignore the typo)

e dev 2022-12-17T19:43:00+00:00

confirm that the fix worked and fields are saving now. thanks

Kofi Mokome 2022-12-22T12:49:00+00:00

Please on which sites did you install the plugin? What are their WordPress versions? I would like to debug the issue with Freemius

adrianbeal 2023-01-05T19:31:00+00:00

Hi Kofimokome, Thank you for developing the Message Filter for Contact Form 7 plugin which I installed recently. It is just what I was needing to stop a hacker in Russia that was spamming my contact form. May I suggest a possible improvement. I entered some spam words but they seem to affect all types of fields. If for example I would like to stop .co.uk in a text field, it would also stop email addresses in an email field. Perhaps having different spam word sections for different field types would be useful? The spammer hitting me is using different id numbers in the text field so I would like to put in a spam word that looks for wild cards in a string, ie “id=****” (would block anything like id=1234). These are only little refinements that may or may not be possible, but your plugin is excellent and you have done a great job! Thank you for your helpful work.

Kofi Mokome 2023-01-06T19:47:00+00:00

Ok, thank you for your suggestions. I will look into it.