We're merging with GenerateBlocks! Learn more here.

[Resolved] HTTP ERROR 500 WHEN I ACTIVATE THE PLUGIN

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support HTTP ERROR 500 WHEN I ACTIVATE THE PLUGIN

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #4522
    Nabil
    Participant

    Hi,

    As soon as I activate the plugin, I get a HTTP error 500 on my site (I am running on Windows). Then I can’t access any page on my site, everything is broken with the same error. If I uninstall the plugin, everything works.

    Thanks

    #4526
    Tom
    Keymaster

    Hi there,

    Are there any recent errors in your error_log file?

    #4533
    Nabil
    Participant

    Hi,

    I have already put the following in my php.ini file :

    log_errors = On
    track_errors = Off
    html_errors = On
    error_log = C:\Windows\temp\php_errors.log

    But the php_errors.log file is never created. Even if I create an empty file, it is never filled. I am running on Windows with IIS.

    By the way, today the problem is somehow different : instead of a “HTTP ERROR 500” message, I just get an empty page in any request on my site. If I look at the source code of the empty page, it just contains <html><body></body></html>.

    #4543
    Nabil
    Participant

    Ok, I managed to see my error_log file. But it doesn’t contain any error regarding the plugin.

    Please help, I was supposed to get the plugin up and running in few minutes for our client 🙁

    #4545
    Tom
    Keymaster

    In that case you may need to contact your hosting provider, as the errors might be writing somewhere else.

    The 500 error is too vague to offer any solution. We haven’t received any other reports of this issue, so it must be something server related.

    #4553
    Nabil
    Participant

    Ok, I finally managed to see the following error when I activate the plugin :

    Fatal error: Cannot redeclare tgmpa() (previously declared in D:\wordpress\wp-content\plugins\wp-show-posts-pro\inc\class-tgm-plugin-activation.php:2126) in D:\wordpress\wp-content\themes\ultimate-soccer\framework\include\tgm_library\tgm-activation.php on line 2126

    #4554
    Nabil
    Participant

    I patched tgm-activation.php (solution found on Google) :

    In my theme, replaced this line :
    if ( ! function_exists( ‘ultimate-soccer’ ) )

    by this one :
    if ( ! function_exists( ‘tgmpa’ ) )

    So the error about “Cannot redeclare tgmpa()” is gone and now I can successfully activate your plugin 🙂

    However even activated I don’t see any “WP Posts Show Pro” entry in the dashboard menu 🙁

    #4555
    Tom
    Keymaster

    Glad you found the issue.

    There’s no WP Show Posts Pro entry – it’s just the regular WP Show Posts menu item, which will now have more options than before.

    #4556
    Nabil
    Participant

    Hi Tom,

    I don’t have the “WP Show Posts” menu item neither.

    However, when I install WP Show Posts (the demo version) everything works (without any complain about tgmpa).

    My problem occurs only with the Pro version.

    Regards,

    Nabil

    #4567
    Tom
    Keymaster

    Both the free and pro plugin need to be installed and activated.

    #4570
    Nabil
    Participant

    Thanks Tom, that was it 🙂

    #4574
    Nabil
    Participant

    Solved

    #4585
    Tom
    Keymaster

    You’re welcome 🙂

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.