• Resolved Ellis Benus

    (@glaxton)


    I’m getting a PHP Fatal Error

    Call to undefined method Tribe__Events__Community__Main::insert_attachment()
    /wp-content/themes/themename/includes/event-management/modules/product/product.php on line 435

    Here is the line from the theme.

    $upload = Tribe__Events__Community__Main::instance()->insert_attachment( ‘product_image’, $product_id, true );

    I’ve updated to the newest version of WordPress, newest version of Event Calendar Plugin and newest version of the Community Event plugin.

    It seems none of the methods inside the Submission Handler class will work.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Call to undefined method insert_attachment’ is closed to new replies.