fatal error

This topic contains 7 replies, has 3 voices, and was last updated by  hezekiah 9 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #44513

    hezekiah
    Buyer
    Post count: 115

    cant activate social importer. it TRIGGERS A FATAl error.

    Fatal error: Cannot redeclare class OAuthException in /dom10832/wp-content/plugins/geodir_social_importer/inc/yelp-oauth.php on line 12

    #44514

    hezekiah
    Buyer
    Post count: 115
    This reply has been marked as private.
    #44523

    Paolo
    Site Admin
    Post count: 31211

    Link please? I’ve notified Stiofan…

    #44524

    hezekiah
    Buyer
    Post count: 115

    sowey… trustorrun.com

    #44567

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Ur plugin seems to be upto date but there should be a check above that to not load the file if that class exists, can u check it’s there or provide FTP details.

    
    
    // if class exists bail
    if (class_exists('OAuthException')) {
      return;
    }

    Thanks,

    Stiofan

    #44618

    hezekiah
    Buyer
    Post count: 115
    This reply has been marked as private.
    #44741

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks, your server was ignoring the PHP return if class exists, i guess this is because of some class autoloader being used ( i have not seen this before), i have changed it to only even include the file if the class does not exist and that seems to fix it on your server.

    Thanks,

    Stiofan

    #44885

    hezekiah
    Buyer
    Post count: 115

    Thanks stiofan. Great job. Really grateful. See u later.

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount