Forum Replies Created
Yes thanks !
I am talking about the mode where you have page numbers at the bottom. You click on a page number and it loads it. In that scenario, clicking on a page number does a full reload of the entire wordpress site. So if your plugin is inserted at the bottom of the site, everything scrolls to the top. Is it possible to active Ajax for that ?
However I see that in the second mode (where you have a “load more” button that dynamically adds new posts below the others) it works perfectly, without a full reload of the wordpress site.
I fill stupid. Sorry.
Thanks Tom, that was it 🙂
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.
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 🙁
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
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 🙁
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>.