Support » Fixing WordPress » Integration with vBulletin – Error with sanitize_url()

  • Resolved baldbrian

    (@baldbrian)


    In trying to integration my WP and VB themes I ended up including the wp-blog-header.php in my VB header includes and then simply adding get_header(); in my VB header and get_footer(); in my VB footer. Basically the same process described for integrating WP with bbPress.

    Long story short, now I’m receiving the following error when I try to post a new thread or reply to a thread:

    Fatal error: Cannot redeclare sanitize_url() (previously declared in /home/mlmstuff/public_html/blog/wp-includes/formatting.php:1714) in /home/mlmstuff/public_html/forum/includes/functions_wysiwyg.php on line 56

    It appears that WP and VB both have a function called sanitize_url(). Is there a simple change I can make so that my WP include file that I’m including in VB doesn’t include that function? Or does anyone else have an idea for me?

    I really appreciate the assistance!

    Brian

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Integration with vBulletin – Error with sanitize_url()’ is closed to new replies.