• tracian

    (@tracian)


    Hi,

    I am trying to use Give on a basic installation using WPML (certified compatible) for multilanguage features, but whenever I attempt to create a form I receive the following error messages:

    ( ! ) Warning: Invalid argument supplied for foreach() in [REDACTED SITE ADDRESS]\wp-content\plugins\wpml-media-translation\classes\media-translation\class-wpml-media-post-with-media-files.php on line 165
    Call Stack
    # Time Memory Function Location
    1 0.0057 445616 {main}( ) …\post-new.php:0
    2 4.5451 100392464 get_default_post_to_edit( ) …\post-new.php:66
    3 4.5452 100392816 wp_insert_post( ) …\post.php:666
    4 4.5860 100471488 do_action( ) …\post.php:3951
    5 4.5860 100471760 WP_Hook->do_action( ) …\plugin.php:465
    6 4.5860 100471760 WP_Hook->apply_filters( ) …\class-wp-hook.php:310
    7 4.6072 100544560 WPML_Media_Set_Posts_Media_Flag->update_post_flag( ) …\class-wp-hook.php:288
    8 4.6079 100571464 WPML_Media_Post_With_Media_Files->get_media_ids( ) …\class-wpml-media-set-posts-media-flag.php:121
    9 4.6099 100570376 WPML_Media_Post_With_Media_Files->get_content_in_translatable_custom_fields( ) …\class-wpml-media-post-with-media-files.php:64

    Can you please advise?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Devin Walker

    (@dlocc)

    Hi @tracian – Thank you for reporting this issue. This is the first I’ve heard of this issue and from the stack trace you’ve provided it’s hard to tell what the cause is on our side because I don’t see any reference to our plugin. As well, PHP warnings shouldn’t be showing on your production site. Is this site live or a staging or local site?

    I’m going to see if I can reproduce the issue and will report back.

    Thread Starter tracian

    (@tracian)

    Hi,

    this is a local dev installation running on DesktopServer, that generally works flawlessly as far as I know.

    Looking forward to any advice!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Create New Form causes error with WPML’ is closed to new replies.