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 Riffaz 1 year, 8 months ago.

Assigned support staff: Riffaz.

Author Posts
September 29, 2018 at 8:10 am #2775456


Hello, I got the error information, please let me know what's the problem.

PHP Catchable fatal error: Argument 1 passed to WPML_Media_Post_Images_Translation::translate_images_in_post_content() must be an instance of WP_Post, null given, called in /*/plugins/wpml-media-translation/classes/media-translation/class-wpml-media-post-images-translation.php on line 98 and defined in /*/plugins/wpml-media-translation/classes/media-translation/class-wpml-media-post-images-translation.php on line 121

Thank you!


October 1, 2018 at 12:44 pm #2778158


Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)


Does it happen when you are bulk editing the Pages? If so, how many pages you have selected for edit? Please let me know the exact steps to reproduce the bug.

Maybe you are facing this issue because of compatibility issues. So to make sure if possible, please do the following steps.

Plugin conflict
Could you please disable all the plugins and check this?
You have many. I highly doubt that 'Auto optimize' can cause this issue.

Minimal Setup
If you disable all non-related WPML plugins, switch to one of the default themes like twenty seventeen, the problem persists or not?
+ Make a backup (both files and database) for your site before updating/proceeding anything (Always a good practice!).

1. Please follow the debugging information provided here: .
2. Repeat the action of creating the problem.
3. Copy and paste the contents of debug.log (log file inside the /wp-content/ directory) here for me to see

Let me know.


The topic ‘[Closed] What's the issue about the error debug information?’ is closed to new replies.