• When using WCFM Multivendor, which is a front-end editor, I get a fatal error from the pdfjs-media-button.js file. Function use_block_editor_for_post() is undefined

    When commenting out this part of the file, there are no further erros.

    I suspect that this might be because wp-admin/includes/post.php is not loaded on the front end and this defines the function being called

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Thomas McMahon

    (@twistermc)

    Thanks for the detailed error message. This helps me greatly and I can fix that. Do you have Gutenberg disabled?

    Plugin Author Thomas McMahon

    (@twistermc)

    Ok, I pushed a fix. Thanks again for the actual issue. Others reported the issue, but no details so this helped me fix it quickly.

    Thread Starter dzseti

    (@dzseti)

    Just updated plugin you pushed and now no problems.

    Glad to be of help to you!

    • This reply was modified 4 years, 5 months ago by dzseti.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘fatal error with pdfjs-media-button.js when using WCFM multivendor’ is closed to new replies.