MB slows down site and editing pages + doesn't seem to save in custom table
- This topic has 11 replies, 2 voices, and was last updated 2 years, 1 month ago by
Travis Hinton.
-
AuthorPosts
-
February 11, 2023 at 5:26 AM #40488
Travis Hinton
ParticipantI'm wanting to use Meta Box for a project to utilize the custom tables functionality, but am running into multiple issues.
1) I'm experiencing slow downs on all field related pages, including Field Group edit pages, edit pages of the CPT that has the custom fields, etc. When using ACF with the exact same fields, I experienced zero slow-downs or lag. Now, after migrating to Meta Box, it takes 5-15 seconds to load an edit page for a post that includes my fields. The options/settings page is also slow. Loading the edit pages for the fields groups themselves also takes 5+ seconds.
2) The custom table functionality isn't working properly. A custom table is created, but posts don't seem to be using it to store their data. I've checked now on two sites using PHPMyAdmin and the tables show up, but no rows. There are also certain fields that are not saving when I save the post.
I'm mostly decided to not use Meta Box since I'm already using ACF on this site, but if these issues could be fixed, I would like to be able to use MB.
February 11, 2023 at 5:28 AM #40489Travis Hinton
ParticipantTo be clear, I'm experiencing these issues both on a staging environment that I cloned the current site to and ran the ACF Migration plugin on as well as a brand new installation that I've imported the fields from the former staging env onto.
February 13, 2023 at 7:11 AM #40497Peter
ModeratorHello Travis,
Please share your staging site credentials by submitting this contact form https://metabox.io/contact/
I will take a closer look.Thanks.
February 16, 2023 at 1:50 AM #40543Travis Hinton
ParticipantI shared the other day, any updates?
February 16, 2023 at 9:41 PM #40558Peter
ModeratorHello,
After checking your staging site, I see you are also using the plugin Query Monitor to monitor the error message and queries. Then I see there are two plugins (WPCodeBox and Page scroll to ID) that cause some PHP errors and I turn them off. Then edit the field group in less than 1 second.
Can you please confirm this?
February 17, 2023 at 5:29 AM #40570Travis Hinton
ParticipantI have just checked the site, and even with those plugins disabled, it took over five seconds for the edit page of the CPT in question to load the fields in the first tab. Switching tabs is still taking 3+ seconds.
February 18, 2023 at 10:25 PM #40595Peter
ModeratorHello,
I do not see that issue on my end. Deactivating all plugins and leaving Meta Box, MB AIO activated, I see the loading time is good. Please check this screen record https://monosnap.com/file/F1rfxYo7SqXQ9HTRdlNnPsjEzMeMNm
February 19, 2023 at 12:51 AM #40601Travis Hinton
ParticipantThat is faster than what I am experiencing on my end, yes. Interesting. I'll get back once I've troubleshooted more.
February 20, 2023 at 7:24 PM #40614Peter
ModeratorLet me know if you have any questions.
February 21, 2023 at 2:34 AM #40630Travis Hinton
ParticipantPeter,
The second point in my OP has still not been addressed. Any changes made to a Reports CPT do not save. Max_input_vars is already at 10000, and I did not have an issue saving this many fields using ACF.
Could this be an issue with the custom tables setting?
February 21, 2023 at 9:22 PM #40642Peter
ModeratorHello,
I think there is an issue with the field group Custom Report on your staging site, it has too many custom fields (around 322 fields). I've created a new testing field group and saved field values to the custom table, it works correctly.
You can try to increase the PHP settings max_input_vars and max_execution_time to a higher value and check this issue again.February 23, 2023 at 12:24 AM #40684Travis Hinton
ParticipantWhy would there be an issue with that many fields using Meta Box when there is no issue using that many fields using ACF?
-
AuthorPosts
- The topic ‘MB slows down site and editing pages + doesn't seem to save in custom table’ is closed to new replies.