• Resolved Bt91

    (@bt91)


    Hi,

    I have a problem with this plugin and the theme I am using.
    The problem is that ‘class browser’ is used twice (in the code of the pluging and in the code of the theme).

    How can I solve this problem?
    Which documents of the plugin refer to browser.php (/plugins/google-calendar-events/vendor/cbschuld/browser.php/lib)?

    The problem is soveld when I delete all the content in browser.php, but the plugin does not work propperly then anymore.

    I hope you can help me.

    Kind regards,

    Bart

    https://www.ads-software.com/plugins/google-calendar-events/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Nick Young

    (@nickyoung87)

    Hello Bart,

    It looks like you may need to contact the developers of the theme and see if they can run a check for the class before loading it. Just let them know there is a conflict with loading the class and they can add something like:

    if ( ! class_exists( 'Browser' ) ) { // load class here

    That should eliminate the problem for you. We have had this happen with a couple other plugins and when the devs made that change it fixed the issue on both sides.

    Thanks!

    Thread Starter Bt91

    (@bt91)

    Thanks, that works!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘browser.php’ is closed to new replies.