Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Osama Mersal 1 year, 7 months ago.

Assisted by: Osama Mersal.

Author Posts
December 6, 2023 at 3:24 am #15003469

estherA-7

Website was working fine. All of a sudden, when trying to access a Custom Post type in backend in other languages, it displays the below Fatal error.

Fatal error: Uncaught TypeError: ACFML\Strings\Traversable\Entity::__construct(): Argument #1 ($data) must be of type array, bool given, called in /wp-content/plugins/acfml/classes/Strings/Factory.php on line 29

#20 /wp-admin/edit-form-advanced.php(271): register_and_do_post_meta_boxes() #21 /wp-admin/post.php(206): require('...') #22 {main} thrown in /wp-content/plugins/acfml/classes/Strings/Traversable/Entity.php on line 16

But this loads correctly when accesing this in English language. Can you help sort this issue asap?

I have already provided WP Backend access ans FTP access previously. Use them if you need to.

WordPress-›-Error.jpg
December 6, 2023 at 1:18 pm #15007931

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

December 11, 2023 at 5:25 am #15032871

estherA-7

Now the above mentioned issue is gone. Loading correctly now.