When did you get this blank page? During activation?
At any rate, there MUST always be an error for the blank page.
Try adding the following to your wpconfig
ini_set(‘display_errors’,’On’);
define(‘WP_DEBUG’, true);
Hi Edward,
thanks for prompt reply!
The plugin activation works fine, when I click on the “Activity Monitor” menu item the page is empty: wordpress admin menu on the side is there, the admin bar lacks all button after wp-admin-bar-site-name, and the page content is just grey…The premium pack link instead works fine.
I’ve already the following lines in my wpconfig
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);
@ini_set(‘display_errors’, 0);
Changed the latter as per your indication. Deactivated and reactivated the plugin but nothing happened.
This is quite frustrating. Without an error message there is very little for me to go on.
Try removing
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);
@ini_set(‘display_errors’, 0);
We want the errors to display on screen, not in some unknown file.
I can only suggest raising the memory limit and hoping that helps.
Is there anything in the activities table in the database?
Yes, I already tried to just write error on screen and not on the debug.log, but that changed nothing. I even made some mistakes on purpose and got error messages displayed.
Looking into the db instead brought good news: lot of meaningful data have been written ( all my actions as admin).
Logged out, changed browser, restart MAMP, nothing. Can’t imagine anything for such a behaviour. I’ll soon upload on a remote server for testing it there…
Ah! Just installed on a remote server and everything works fine.
There must be something with the local environment…but I swear that in more than 10 years I never seen something like this with no errors in debug mode.
Let me know if there is any more detail I can provide you.
Tried raising the memory limits?
Yes, I tried increasing both on php.ini and wp-config to 256mb, but no luck either, or better, a couple of little errors have been thrown:
[20-Sep-2017 05:53:54 UTC] PHP Notice: Undefined index: type in /wp-content/plugins/plainview-activity-monitor/src/hooks/updated_plugin.php on line 23
[20-Sep-2017 05:53:54 UTC] PHP Notice: Undefined index: type in /wp-content/plugins/plainview-activity-monitor/src/hooks/updated_theme.php on line 23
Those are just notices, not the fatal PHP errors that would cause a blank page.
Have you tried raising the memory limit to 512?
Raised memory both in php and wp but nothing changed.
Anyway data keep being added to db.