WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Gravity Forms User Restrictions
[resolved] Warning: DOMDocument::loadHTML(): ID gf_2 already defined in Entity, line: 2 (3 posts)

  1. Scilab
    Member
    Posted 3 years ago #

    Hi
    first of all thank you for this plugin

    I installed this plugin and it works correctly but I got this error:
    Warning: DOMDocument::loadHTML(): ID gf_2 already defined in Entity, line: 2 in D:\xampp\htdocs\last\wp-content\plugins\gravity-forms-user-restrictions\index.php on line 125

    Best,

    http://wordpress.org/plugins/gravity-forms-user-restrictions/

  2. Scilab
    Member
    Posted 3 years ago #

    Hi Again

    I am googling and I found this solution :
    Change
    $dom->@loadHTML($html); (Line 125)
    To
    @$dom->loadHTML($html);
    and now I don't see any warning
    is it right?

    Thx..

  3. Cyril Batillat
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,

    Thank you for your feedback. And glad you found a solution.
    I just released v1.0.2 which fixes libxml warnings, as well as some other little bugs on form settings page.
    Could you give it a try ?

    Don't hesitate to rank the plugin and to say it works on the plugin page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gravity Forms User Restrictions
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic