frisoV-2
|
One more thing, that is really critical to get done today: there is a critical error on artist pages. hidden link
The layout has been set to all artists (see screenshot) and I've translated everything using the WPML advanced translator. What is happening?
|
Kor
Supporter
Languages:
English (English )
Timezone:
Asia/Singapore (GMT+08:00)
|
Thanks for your reply.
Let's solve this critical error first on this page. I've edited the page hidden link and it looks broken. Could you perform a backup and permanently delete this English language page? Then, re-translate it from Dutch again and see if it fixes it.
I will look into your previous reply.
|
frisoV-2
|
Woah that is weird. I used the WPML advanced editor to translate, so I didn't see these errors. I will remove the translations for all of those pages, and re-do them with the WPML editor, see if that helps.
|
frisoV-2
|
Goodness that fixed it!!!! 🎉🎉🎉🎉🎉 Thank you! I suspect the same issue with the concert pages. I will go ahead and re-do those too.
|
frisoV-2
|
Hi Kor, unfortunately the same treatment didn't fix the concert pages. There is a similar error on those pages: hidden link
|
Kor
Supporter
Languages:
English (English )
Timezone:
Asia/Singapore (GMT+08:00)
|
Ok, it should be working fine now. Please check.
|
frisoV-2
|
Concert pages look good now. I now see another critical error on the news posts hidden link
This was not there earlier today. I can try the same method again. But what is causing these errors?
|
Kor
Supporter
Languages:
English (English )
Timezone:
Asia/Singapore (GMT+08:00)
|
Thanks for your reply.
It looks like a database issue based on the error message. Yes, please try the method I shared earlier to fix this. Let me know how it goes.
[21-Nov-2023 16:39:17 UTC] PHP Fatal error: Uncaught Error: Object of class WP_Post could not be converted to string in /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-element-translation.php:225
Stack trace:
#0 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-element-translation.php(225): array_diff(Array, Array)
#1 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/class-wpml-query-parser.php(551): WPML_Element_Translation->prefetch_ids(Array)
#2 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/class-wpml-query-parser.php(444): WPML_Query_Parser->adjust_q_var_pids(Object(WP_Query), Array, 'post__in')
#3 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins in /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-element-translation.php on line 225
|
frisoV-2
|
Was able to fix the news posts.. Now on to the concert pages?
Here's an example hidden link.
These concert pages consist of a few sections: Introduction, videos, concert programme, an artist post card which links to the corresponding artist page and down below venue information (which consists of 2 post cards).
These post cards are based on ACF relationships. Only the post card of the related location or artist should be shown. This works correctly in the original language, Dutch.
The layout is located here: hidden link It was translated using the WPML advanced editor.
|
frisoV-2
|
This is where those postcards are located in the layout
|
frisoV-2
|
These are the post cards in question
hidden link
hidden link
hidden link
|
Kor
Supporter
Languages:
English (English )
Timezone:
Asia/Singapore (GMT+08:00)
|
Thanks for your reply.
Ok, I will check on this. For your next question, I will have to split it into a new ticket as per our support policy. I am only allowed to handle a single issue per ticket and I hope you understand.
Continuing with one issue per ticket helps not only supporters to focus on one issue at once, but also enables other users to find solutions to their questions faster.
I will come back to you as quickly as possible.
|
frisoV-2
|
Hi Kor, I see you're working on the website. You might like to know I received a fatal error message from wordpress in my email:
Current plugin: Advanced Custom Fields PRO (version 6.2.3)
PHP version 7.4.33
Error Details
=============
An error of type E_ERROR was caused in line 73 of the file /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-bidirectional-functions.php. Error message: Uncaught Error: Object of class WP_Post could not be converted to string in /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-bidirectional-functions.php:73
Stack trace:
#0 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-bidirectional-functions.php(73): array_unique(Array)
#1 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/fields/class-acf-field-relationship.php(836): acf_update_bidirectional_values(Array, 11678, Array)
#2 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-includes/class-wp-hook.php(326): acf_field_relationship->update_value(Array, 11678, Array)
#3 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-includes/plugin.php(256): WP_Hook->apply_filters(Array, Array)
#4 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/a
|
Kor
Supporter
Languages:
English (English )
Timezone:
Asia/Singapore (GMT+08:00)
|
Thanks for letting me know.
I'm still checking on it.
|