WordPress.org

Support

Support » Plugins and Hacks » [Resolved] WP Post to PDF incompatibility with Lightbox Plus plugin

[Resolved] WP Post to PDF incompatibility with Lightbox Plus plugin

Viewing 5 replies - 1 through 5 (of 5 total)
  • sravenscroft
    Member

    @sravenscroft

    PHP Fatal error: Cannot redeclare str_get_html()

    That function, in the same file also needs to be wrapped in an if function.

    Quite possibly there are other fucntions that will also need to be wrapped.

    sravenscroft
    Member

    @sravenscroft

    Also dump_html_tree should be wrapped.

    sravenscroft
    Member

    @sravenscroft

    Ok…. So what I thought was going to be a quick fix turns out to be a bit more complicated.

    I’m not a PHP developer, so I might be off base here, or there could be a much simpler solution – I will leave that to the developer of the plugin.

    However the classes in the file must also be wrapped with an if function to check if they haven’t already been declared.

    Plugin Author Neerav Dobaria
    Member

    @n33rav

    Thanks mate for posting it here!

    It will be fixed in next version. ASAP!

    Plugin Author Neerav Dobaria
    Member

    @n33rav

    This issue is fixed in version 2.3.1, released today!

    Thanks once again for taking time to post it here Sraven 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] WP Post to PDF incompatibility with Lightbox Plus plugin’ is closed to new replies.