Support

Home Forums Event Espresso Premium Can't Find Custom Field on Event Creation Page

Can't Find Custom Field on Event Creation Page

Posted: January 2, 2018 at 2:39 pm

Viewing 18 reply threads


R0ckStar

January 2, 2018 at 2:39 pm

I’ve done it before so I’m not sure why I can’t find it again. I can’t seem to locate the Custom Field section on my event creation page on our WordPress site.
I’m trying to add infusionsoft_tag_id and the Tag ID but I can’t even find the section for “Custom Field.” Can someone please point me in the right direction?
Thank you 🙂


Josh

  • Support Staff

January 2, 2018 at 2:50 pm

Hi there,

Can you click on the Screen Options tab (upper right corner of the add event page) then make sure the box next to Custom Fields is checked?


R0ckStar

January 2, 2018 at 2:53 pm

Custom Fields doesn’t show up there… that was the first place I checked. It was definitely there before but it’s not now.

Any idea how I can get that back?


Josh

  • Support Staff

January 2, 2018 at 3:24 pm

Hi there,

Since I don’t know how they were removed on your site I can only guess how they can be brought back.

One idea might be they were programmatically removed. If you have some code in your theme’s functions.php file or in a custom site plugin that resembles something like this:

function remove_my_post_metaboxes() {
   remove_meta_box( 'postcustom','espresso_events','normal' );
}
add_action('admin_menu','remove_my_post_metaboxes');

Then you remove that code. You could also rule out another plugin removing the metaboxes by temporarily deactivating all other WP plugins. If the Custom Field box reappears, then you reactivate the plugins one by one until they box disappears again. Then you’ll know which plugin removed the box.


R0ckStar

January 3, 2018 at 11:45 am

I updated a few plugins that had an update and was able to make the tagging work using the plugin Advanced Custom Fields PRO which needed to be updated. The only problem now is that it’s only tagging the main registrant and not the guest. Do you know how I can ensure the tag is applied on the guest registrations as well?


R0ckStar

January 4, 2018 at 12:58 pm

Hey Josh,

I just wanted to follow up as now no tags are being applied in Infusion.

Any ideas?

Please let me know,
Andrea


Patrick

January 4, 2018 at 2:09 pm

Sorry to be intrusive, but here is the answer to the wordpress native custom fields meta box : https://wpbeaches.com/wordpress-custom-fields-missing-acf-active/

add_filter('acf/settings/remove_wp_meta_box', '__return_false');


R0ckStar

January 4, 2018 at 2:43 pm

That’s great, thank you!

I can see the custom field now but when I enter the name and value and hit to update, the fields are empty when the page finishes updating.

Any thoughts on why that might be?


Patrick

January 4, 2018 at 4:19 pm

Sorry, no clue ! Cannot replicate this behavior on my site. When entering custom field name and values on an event page, it works for me.


Tony

  • Support Staff

January 5, 2018 at 3:39 am

Do you have a lot of inputs on the event editor page?

What may be happening is the page is exceeding the max_input_vars limit on the site, so your server will only use the first 1000 vars on the page (by default).

Can you go to Event Espresso -> Maintenance -> System Information.

Search for max_input_vars, I’m assuming the value is 1000?

The easiest way to test if that’s the problem is to just increase the value, I’d use 3000 personally just to give some wiggle room.

You can increase that value using the sites .htaccess file and following this:

https://www.a2hosting.co.uk/kb/developer-corner/php/using-php-directives-in-custom-htaccess-files/setting-the-max-input-vars-directive-in-an-htaccess-file

Or contact your host and have them increase it for you.


R0ckStar

January 5, 2018 at 7:39 am

Hey Tony,

I followed the steps that you suggested and our max_input_vars is already set to 3,000.

This is so frustrating, the past two events I’ve created I had no trouble with and all of a sudden this isn’t working.

We’ve got registrations coming in and we’re having to manually tag them in InfusionSoft because this feature isn’t working.

Any other suggestions?

Thank you,
Andrea


Josh

  • Support Staff

January 5, 2018 at 8:50 am

Do the fields save correctly if you temporarily deactivate all WordPress plugins other than Event Espresso 4?


Tony

  • Support Staff

January 5, 2018 at 10:46 am

I followed the steps that you suggested and our max_input_vars is already set to 3,000.

Great, but unfortunately that doesn’t mean’s it’s enough, I was hoping for the default setup above.

We’ve seen a theme add 14,000 (yes really 14k) inputs to the page.

Open up Chrome dev tools on the event editor and in the elements tab search for ‘input’ – http://take.ms/9HCrk

That’ll give you a rough idea of the number of inputs, I can’t say for sure that’s the problem, but worth checking.

This is so frustrating, the past two events I’ve created I had no trouble with and all of a sudden this isn’t working.

On the site what changed between when it worked and now? New plugins? Updates?


R0ckStar

January 5, 2018 at 11:03 am

It says 329 for the inputs.

From then until now I’ve updated three plugins which showed an available update when I started investigating everything:

1. Advanced Custom Fields PRO
2. Event Espresso
3. Event Espresso – Infusionsoft (EE4.4+)


Tony

  • Support Staff

January 5, 2018 at 11:04 am

It says 329 for the inputs.

Not an issue with max_input_vars then

1. Advanced Custom Fields PRO
2. Event Espresso
3. Event Espresso – Infusionsoft (EE4.4+)

Deactivate ACF and see if it works then,

If not do as Josh recommended and de-activate all Non-EE plugins and confirm if it works.


R0ckStar

January 5, 2018 at 11:14 am

Ok, I disabled AFP and it then showed as a saved field on the page (actually there were about 10 because of the attempts I had made previously to update it).

Two problems remain… when I disable that plugin, the content on a few of my pages doesn’t display (they have custom fields set up through that), also, the information is still not passed into InfusionSoft when I try to register so it’s not pulling the Tag ID from the custom field..


Josh

  • Support Staff

January 5, 2018 at 12:28 pm

Hi Andrea,

I logged into the site with the information that you sent with the support token form, and I’m looking at the WP Dashboard and there’s a message that says you need to upgrade your database to be able to use ACF Pro. Updating the database may help with saving the Custom fields.

If you have any further trouble with saving custom fields while ACF Pro is activated, you can contact them for support.

With regards to passing an infusionsoft tag to contacts for both the Primary Registrant and the Additional registrants, you’ll need to make sure your check the box next to “Personal Information” in the Questions for Additional Registrants box of the event editor. I see that right now you have only “Guest Information” checked. Infusionsoft does not use fields from the Guest Information group.

With regards to your site not connecting to Infusionsoft:

You’ll need to correct what’s set in Application Name and/or Encrypted Key fields in Event Espresso > Infusionsoft. Right now this error is thrown when it attempts to connect:

Error connecting to Infusionsoft: ERROR: 8 - CURL error: Couldn't resolve host '****.infusionsoft.com'. Please double-check your application name and private key

You can get the correct information from your Infusionsoft account by following this guide:

https://eventespresso.com/wiki/infusionsoft-integration/#locate


R0ckStar

January 5, 2018 at 1:56 pm

I’m sorry, I’m not sure where you’re seeing the error for the Infusion code. I updated it and it updated ok… how/where can I verify it’s set up properly?

Also, if I add the “Personal Information” to the “Guest Information” It’s asking for the first name, last name and email address twice.

We had spoken to someone previously about an inquiry to have the guest name with the main registrant’s name on the export and they said that was the way we needed to do it. Is there another way to not ask for duplicate information and achieve the same goals?

We’d like everyone to go into Infusion via the tag and for the main registrant to be identified on the export with their guests.

The update has been completed and the Infusion tag still isn’t showing after I’ve added it to the event page.

I guess I’ll have to reach out to the other plugin for help on that.


Josh

  • Support Staff

January 5, 2018 at 2:17 pm

Also, if I add the “Personal Information” to the “Guest Information” It’s asking for the first name, last name and email address twice.

You can uncheck the “Guest Information” box to avoid showing the other site of fields.

We had spoken to someone previously about an inquiry to have the guest name with the main registrant’s name on the export and they said that was the way we needed to do it. Is there another way to not ask for duplicate information and achieve the same goals?

If you capture each registration using the Personal Information question group, the CSV report will still group the registrations by transaction. So each of the guest names will be in their own rows, but they’ll still be connected to the other registrations in the same transaction.

The update has been completed and the Infusion tag still isn’t showing after I’ve added it to the event page.

I guess I’ll have to reach out to the other plugin for help on that.

You mentioned earlier that the field worked as expected when the ACF Pro plugin was deactivated, so it will be best to ask them to iron that out.

Viewing 18 reply threads

The support post ‘Can't Find Custom Field on Event Creation Page’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso