Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client reported a crash report received during bulk updating pages, suspecting a fatal error or conflict.
Solution:
1. We attempted to take a backup of the client's site and restore it on a local host for further investigation.
2. We identified an issue with the page titled "学习" in the Chinese Simplified language.
3. We manually edited and updated the problematic page.
4. After the manual update, the client should be able to bulk update pages without encountering the error.

If this solution doesn't look relevant to your issue, please feel free to open a new support ticket with us.

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.

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by Long Nguyen 11 months, 3 weeks ago.

Assisted by: Long Nguyen.

Author Posts
January 11, 2024 at 7:13 am #15172312

jackH-4

OK. I will try that later.

I got another crash report sent to me when you were doing something. Did you not see a fatal error display while you were in there? I think maybe there is a conflict somewhere.

January 11, 2024 at 8:11 am #15172568

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I'm trying to take a backup of your site and restore it on my local host to investigate the issue further. I will update you here when I have any information.

Thanks.

January 12, 2024 at 3:18 am #15177150

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

There is an issue with the page "学习" in Chinese Simplified language when bulk updating pages. I edit the page and manually update it to fix the issue. Now you can bulk update pages as well.

Look forward to your reply.
Thanks

Edit Page ‹ EZEKIEL-ION — WordPress 2024-01-12 10-15-26.png
January 12, 2024 at 3:23 am #15177166

jackH-4

You mean I can go to the live site, select the "学习" page in Simplified Chinese, and simply click Update to fix that problem?

January 12, 2024 at 4:16 am #15177191

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Yes, correct. Let me know how it goes.

January 12, 2024 at 4:29 am #15177197

jackH-4

I selected the first 20 pages of Simplified Chinese, and choose Duplicate content for Traditional Chinese, and got successful message:

You successfully duplicated your content.

But, they are just blank Traditional Chinese pages 🙁

January 12, 2024 at 6:44 am #15177273

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

I'm focusing on the issue of a fatal error when bulk updating the pages in this ticket. If you see it is resolved, please mark it as Resolved.

Thanks.

January 13, 2024 at 8:47 pm #15181758

jackH-4

I have reinstalled a fresh stage site. You may try to do the bulk duplication again to see if you still get the Fatal error or not.

You can delete your local copy.

January 15, 2024 at 1:51 am #15182818

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I've asked for the credentials of your staging site in the other ticket. I will check the error on the site again.

Thanks.

January 16, 2024 at 10:50 pm #15192325

jackH-4

Whatever you were trying to do yesterday with product duplication, it also caused a fatal error. This is what is emailed to me:

Error Details
=============
An error of type E_ERROR was caused in line 168 of the file /var/www/vhosts/mydomain.com/httpdocs/stage/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/ProductImage.php. Error message: Uncaught Error: Call to undefined function Automattic\WooCommerce\Blocks\BlockTypes\wp_is_block_theme() in /var/www/vhosts/mydomain.com/httpdocs/stage/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/ProductImage.php:168
Stack trace:
#0 /var/www/vhosts/mydomain.com/httpdocs/stage/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(100): Automattic\WooCommerce\Blocks\BlockTypes\ProductImage->enqueue_data()
#1 /var/www/vhosts/mydomain.com/httpdocs/stage/wp-includes/class-wp-hook.php(303): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_editor_assets()
#2 /var/www/vhosts/mydomain.com/httpdocs/stage/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#3 /var/www/vhosts/mydomain.com/httpdocs/stage/wp-includes/plugin.php(470): WP_Hook->do_action()
#4 /var/www/vhosts/mydomain.com/httpdocs/stage/wp-includes/class-wp-customize-widgets.php(873): do_action()
#5 /var/www/vhosts/mydomain.com/httpdocs/stage/wp-includes/class-wp-hook.php(303): WP_Customize_Widgets->enqueue_scripts()
#6 /var/www/vhosts/mydomain.com/httpdocs/stage/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#7 /var/www/vhosts/mydomain.com/httpdocs/stage/wp-includes/plugin.php(470): WP_Hook->do_action()
#8 /var/www/vhosts/mydomain.com/httpdocs/stage/wp-admin/customize.php(123): do_action()
#9 {main}
thrown

January 17, 2024 at 4:31 am #15192639

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I shared a screen record when duplicating products on your site in another ticket, the error doesn't happen. It happens when I go to Appearance > Customize. It looks related to your theme and WooCommerce plugin even if WPML is deactivated.

It's not a WPML issue so if you don't see the error when duplicating products/pages, please consider setting this ticket as Resolved.

Thanks.