-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error messages: Updating failed. Could not update the meta value of _filled in database. #2827
Comments
@thedebian any idea? Thanks for your help |
@thedebian. Any idea or fix for this, I have same issue here. Thanks. |
Hi there, |
@thedebian what i can see is in the server logs: https://eschercare.digicube.dev/wp-json/wp/v2/job-listings/3382?_locale=user With all debug options enabled i can also see this in the console:
|
I tested here and I could confirm that the issue seems to happy when a job is cloned using yoast duplicate post with a custom field added via ACF to the Jobs post type and using latest WPJM on a clean WP 6.6 site running PHP 8.3. If you only clone a plugin without having the ACF custom field added it seems like it works fine. The same thing applies if you just have the ACF added to Job post type without cloning it. It's the combination that's breaking everything. Checking at ACF's source code I couldn't identify anything that would conflict with WPJM, but this definitely does need more investigation to get fixed. Thanks for the report! |
It is not just yoast duplicate post. It happens on any duplicate post plug-ins. On Jul 17, 2024, at 4:07 PM, Fernando Jorge Mota ***@***.***> wrote:
I tested here and I could confirm that the issue seems to happy when a job is cloned using yoast duplicate post with a custom field added via ACF to the Jobs post type and using latest WPJM on a clean WP 6.6 site running PHP 8.3.
If you only clone a plugin without having the ACF custom field added it seems like it works fine. The same thing applies if you just have the ACF added to Job post type without cloning it. It's the combination that's breaking everything.
Checking at ACF's source code I couldn't identify anything that would conflict with WPJM, but this definitely does need more investigation to get fixed. Thanks for the report!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
@fjorgemota upon further checking here is what i was able to find.
So seems like entries are duplicated inside (_filled, _featured). When i try to save the job now with an ACF value set i get these errors: When i went ahead and deleted 513 and 514 the post was able to be updated again without an issue. Edit: maybe a link to their developer docs where you might have the chance to influence that this doesnt get copied: https://developer.yoast.com/duplicate-post/overview/ |
Looks like we are calling We could move adding the default metas to a later hook, like Right now this is called on WP-Job-Manager/includes/class-wp-job-manager-post-types.php Lines 1453 to 1458 in 15ff6c8
And we have another one called on WP-Job-Manager/includes/admin/class-wp-job-manager-writepanels.php Lines 673 to 678 in 03f7745
|
@yscik sounds good! If you have a PR ready let me know please - happy to help you guys test this. |
@yscik any idea to fix this one? happy to test the PR |
@masteradhoc We are still thinking about how to fix this properly in WPJM. Please give us more time. In the meantime, feel free to include both Regarding the already duplicated posts, feel free to delete the duplicated meta fields for each duplicated post with the lowest If possible, please use the "Duplicate Job" already present in the Job Dashboard (it is not available in I hope this helps. |
@fjorgemota any news on this? the issue still is here. |
@masteradhoc Not yet. It's on the roadmap to be worked on in the future, but we don't have any specific deadline on when this will be worked on and released to the public, especially given that technically, the workaround above should work well, and that the "Duplicate Job" feature present in the Job Dashboard doesn't have this issue. As mentioned on the docs here: https://wpjobmanager.com/document/getting-started/adding-jobs-via-admin/
|
"Updating failed. Could not update the meta value of _filled in database." Continue to receive this error when updating jobs.
The text was updated successfully, but these errors were encountered: