May 12, 2018 at 2:32 am #4522
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.
ThanksMay 12, 2018 at 8:56 pm #4526
Are there any recent errors in your
error_logfile?May 13, 2018 at 4:13 am #4533
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>.May 13, 2018 at 4:48 pm #4543
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 🙁May 13, 2018 at 9:45 pm #4545
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.May 15, 2018 at 12:01 pm #4553
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 2126May 15, 2018 at 1:36 pm #4554
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 🙁May 15, 2018 at 9:14 pm #4555
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.May 16, 2018 at 12:51 am #4556
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.
NabilMay 16, 2018 at 9:11 pm #4567
Both the free and pro plugin need to be installed and activated.May 17, 2018 at 3:08 am #4570
Thanks Tom, that was it 🙂May 17, 2018 at 4:04 am #4574
SolvedMay 17, 2018 at 9:26 pm #4585
You’re welcome 🙂
- You must be logged in to reply to this topic.