• Hi there,
    I’m working on a local environment (MAMP, memory limit 256mb, php 5.6). I’ve just installed the plugin and got blank option page but no error in log!! I tried activating twenty seventeen theme and disabling all other plugins but got the same result. Changed php version back to 5.4, and up to to 7.1 but always no errors in console and no option page available.
    I even tried to install the plugin on a fresh install but no luck as well.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author edward_plainview

    (@edward_plainview)

    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);

    Thread Starter Francesco T

    (@ventitrix)

    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.

    Plugin Author edward_plainview

    (@edward_plainview)

    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?

    Thread Starter Francesco T

    (@ventitrix)

    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…

    Thread Starter Francesco T

    (@ventitrix)

    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.

    Plugin Author edward_plainview

    (@edward_plainview)

    Tried raising the memory limits?

    Thread Starter Francesco T

    (@ventitrix)

    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

    Plugin Author edward_plainview

    (@edward_plainview)

    Those are just notices, not the fatal PHP errors that would cause a blank page.

    Have you tried raising the memory limit to 512?

    Thread Starter Francesco T

    (@ventitrix)

    Raised memory both in php and wp but nothing changed.
    Anyway data keep being added to db.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Blanc page’ is closed to new replies.