Support » Plugin: WordPress Gallery MaxGalleria » Error – Unable to add new video to gallery

  • Resolved linds

    (@lsterling03)


    I am attempting to add a new youtube video to an existing video gallery. There are 4 videos in the gallery. I click “Add Videos” and enter the URL of the youtube video on one line. It refreshes the page as if it’s going to add the video, but the video does not appear. I checked the error log, and I get this error for each attempt to add the video. “WordPress database error Column ‘post_excerpt’ cannot be null for query”. I am using the latest version of the plugin. Do you know why this is happening? There are no other errors in the log.

    Here is the full error:

    [Mon Jan 27 21:29:42.217686 2020] [php7:notice] [pid 9679] WordPress database error Column ‘post_excerpt’ cannot be null for query INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (1, ‘2020-01-27 16:29:42’, ‘2020-01-27 21:29:42’, ”, ”, ”, NULL, ‘inherit’, ‘attachment’, ‘open’, ‘closed’, ”, ”, ”, ”, ‘2020-01-27 16:29:42’, ‘2020-01-27 21:29:42’, 1904, 1, ”, ”) /* From [mysite.org/wp-content/plugins/maxgalleria/meta/video-add.php?post_id=1904&] in [/nas/content/live/mysite/wp-content/plugins/maxgalleria/meta/video-add.php:234] */ made by wp_insert_attachment, wp_insert_post, referer: https://mysite.org/wp-content/plugins/maxgalleria/meta/video-add.php?post_id=1904&

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author AlanP57

    (@alanp57)

    Normally the post_except field has text in it when adding a video. It may be that your Youtube Developer API key is not working. I had to update my own API key recently. Can you post the video URL and I can try adding it to a gallery.

    linds

    (@lsterling03)

    Thank you. I will check on the API key and report back!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error – Unable to add new video to gallery’ is closed to new replies.