• Resolved StefExakt

    (@stefexakt)


    I just installed Booking Wiz for wordpress and when I tried to activate the BookingWiz plugin I received this error message:

    Fatal error: Cannot redeclare bw_admin() (previously declared in /home/nspahost/public_html/newlonpiersall/wp-content/plugins/oik/bobbcomp.inc:382) in /home/nspahost/public_html/newlonpiersall/wp-content/plugins/bookingwizz_wp/booking_wizard.php on line 284

    I was able to activate BookingWiz only after deactivating the oik base plugin. Is this error message due to a plugin conflict? Is there a way this conflict can be resolved and I can use both the BookingWiz plugin and the oik base plugin (needed because I am using the oik nivo slider on the site’s homepage)?

    I am not great with php so I didn’t try to resolve the error message myself by editing the php files – didn’t want to break anything.

    Any advice is greatly appreciated! Thanks!

    http://wordpress.org/extend/plugins/oik/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author bobbingwide

    (@bobbingwide)

    Hi StefExakt. It looks like both oik and BookingWizz use the same prefix for functions – bw_ – and that we’ve both implemented a function called bw_admin.
    Note: PHP is case insensitive when it comes to function names.

    The prefix I use is from bobbing wide.

    Since BookingWizz is a lot newer than oik (their first version is 4 July 2012) then I could hope that the conflict would be resolved by a change to their code. BUT I haven’t tried asking them.

    My version of bw_admin() implements a very simple shortcode [bw_admin]
    If you’re not using it, which I doubt you are, I suggest you comment out the code.

    //function bw_admin() {
    //  return( bw_output( "admin" ));
    //}

    I’ll have think about the best way of dealing with this issue.
    Could you send me the BookingWizz zip file so I can check all the other functions they use?

    Plugin Author bobbingwide

    (@bobbingwide)

    The function name will be changed to bw_admin_sc in the next version of oik.

    Plugin Author bobbingwide

    (@bobbingwide)

    The function name will be changed to bw_admin_sc in the next version of oik.

    Plugin Author bobbingwide

    (@bobbingwide)

    Version 2.0.1 contained this change.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Possible Plugin Conflict’ is closed to new replies.