Support » Plugins and Hacks » BuddyPress Links » "Please fill in all of the required fields"

Viewing 6 replies - 1 through 6 (of 6 total)
  • Error logged is:

    PHP Fatal error: Class 'DOMDocument' not found in /website/wp-content/plugins/buddypress-links/bp-links-embed-classes.php on line 1134, referer: https://<domain>/links/create

    Workaround: remove <?php if ( !bp_get_link_details_form_name_desc_fields_display() ): ?> style="display: none;"<?php endif; ?> from L43 of buddypress-links/themes/bp-links-default/single/forms/details.php

    allows the manual entering of the field data…

    Plugin Author MrMaz

    (@mrmaz)


    The DOMDocument class is a core PHP class, so that is a really odd error.

    Either way, I think this is fixed in the 0.8.2 release, and at the very least, you can disable page fetching via settings now.

    Just upgraded and still see the problem… however…

    Under centos 6.4 dom.so is not in the core php blob, it’s a bolt-on in the php-xml package, and adding that resolves the issue – Should the plugin not have a class_exists() check added?

    I’m having this issue as well – please fill in all required fields. Using 0.8.2.
    Anyone else having this problem?

    Actually, I’m trying on another server now with a fresh install and this isn’t happening… so go figure…

    Plugin Author MrMaz

    (@mrmaz)


    @martyn_ the page fetching requires XML in order to parse the fetched web pages. I’m not sure if its a good idea to silently disable the feature because of a missing library, but I think I might add something to the plugin page that shows a warning if XML/DOM is missing

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘"Please fill in all of the required fields"’ is closed to new replies.