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 1 reply, has 2 voices.

Last updated by Riffaz 1 year ago.

Assigned support staff: Riffaz.

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

HansonB

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!

Sincerely,
Hanson

October 1, 2018 at 12:44 pm #2778158

Riffaz
Supporter

Languages: English (English )

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

Hi,

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?
NOTE:
+ Make a backup (both files and database) for your site before updating/proceeding anything (Always a good practice!).

Debugging
1. Please follow the debugging information provided here: http://wpml.org/documentation/support/debugging-wpml/ .
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.

Regards,
Riffaz.

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