• Resolved mihain

    (@mihain)


    Hello,

    We are currently using WordPress 5.4.
    We had the following plugins installed and worked perfectly:

    Notification v6.3.2
    Notification: Conditionals v1.1.0

    We decided to update the Notification plugin to its latest version (7.0.3).
    Installation was successful but activating the plugin will result in a so-called “white page of death”.

    After deactivating the Notification plugin, everything gets back to normal.
    Well, we had to move the plugin away from the plugins folder on the server, refresh the WP Plugins page, move it back and then refresh the WP Plugins page again. These steps force the plugin to become deactivated.

    We noticed that there was also a newer version available for Notification: Conditionals plugin, so we updated it to version 1.2.0 to avoid compatibility issues.

    Then we activated the Notification plugin again, but the “white page of death” showed-up.

    We enabled some debugging and there are some Warnings that we can see:

    Warning: ftp_nlist() expects parameter 1 to be resource, null given in /data/www/our_site/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 401

    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /data/www/our_site/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 225

    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /data/www/our_site/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 225

    If we install Notification v6.3.2, it works.

    How can this issue be fixed?

    Thank you,
    Mihai

Viewing 15 replies - 1 through 15 (of 17 total)
  • Hello !
    I also experienced this same issue on WordPress 5.4 :

    The update of Notification 6.3.2 to 7.0.3 causes critical error (when having Notification 6.3.2 installed).
    Here is the log I get (in french) :

    Détails de l’erreur
    ======================
    Une erreur de type E_ERROR a été causée dans la ligne 15 du fichier /MY-PATH/wp-content/plugins/notification-conditionals/src/class/Runtime.php. Message d’erreur : Class ‘BracketSpace\Notification\Utils\DocHooks’ not found

    I hope a solution will be found soon…

    Best regards,

    • This reply was modified 4 years, 11 months ago by maksanse. Reason: error log added
    Plugin Author Kuba Mikita

    (@kubitomakita)

    Hi, thanks for the report.

    @maksanse please update the Notification plugin to the latest version. The one you are using is not compatible with Notification v7, there was information on the plugin update page about this.

    @mihain the error is related to the FTP filesystem. Do you have any particular FS_METHOD defined in your wp-config.php file?

    Hi @kubitomakita

    Thank you for the quick answer but I think I got misunderstood : the Notification Plugin is the only plugin I have to update in my wordpress installation, and updating it cause the critical error (please see this : https://www.loom.com/share/e431cf11ad2642b7a02167ce5b0f7257)

    What can I do ?

    Best regards

    Edit about the error log I shared in my first message :
    I first tested the update of the 2 plugins in the wrong order (Conditionnals, then Notification), which may have caused the error log I shared.
    Since, I restarted the update from a staging environment with the Notification Conditional first, and then Notification, which lead to the critical error you can see in the video

    • This reply was modified 4 years, 11 months ago by maksanse. Reason: details about update order
    Plugin Author Kuba Mikita

    (@kubitomakita)

    Thanks for the video! The Notification : Conditionals plugin is a premium extension so either you didn’t activate it or your license expired, so you cannot update.

    You should see your current subscription status in our Store dashboard.

    Oops… Indeed ! Sorry for the noise. I renewed my licence and updated the plugin.

    (Note that is not related to this topic, but I still need to express it : since the automatic update option isn’t accessible for your premium plugin (see our previous discussion about that matter : https://bracketspace.com/dashboard/support/?conversation_id=1017336059), I find your price for this premium plugin licence unfair since I need to go on my FTP doing some critical file change to update it… You should at least fix this issue and include the support in your offer.)

    Excepted this upper point, thank you for your quick answers and help !

    Best regards

    Thread Starter mihain

    (@mihain)

    Hello,

    We have the following entries in the wp-config.php:

    define(‘FS_METHOD’,’direct’);
    if (!defined(‘FS_METHOD’)) define(‘FS_METHOD’, ‘direct’);

    Best Regards,
    Mihai

    Plugin Author Kuba Mikita

    (@kubitomakita)

    You have these and it still doesn’t work?

    Thread Starter mihain

    (@mihain)

    Hi Kuba,

    It does NOT work. If we activate the Notification plugin (v7.0.3) we end up with the “white page of death”.
    In order to update the Conditionals plugin, the automatic update was not available, so I have removed the previous version (1.1.0) and then installed the new version (1.2.0) manually. The license status is Active (it expires next year).

    Let’s try this way:
    I am now back to Notification v6.3.2 and Notification: Conditionals v1.1.0
    Everything works perfectly.

    What would be the required steps to successfully update to Notification v7.0.3 and Notification: Conditionals v1.2.0?

    Note: our WordPress version is 5.4.

    Here is how the plugins look on our Plugins page:
    https://enea-my.sharepoint.com/:i:/g/personal/mitu_enea_se/EX1qUXyKrJxJl7SvcfFd9GMBQkmQTjL7fryqZ9lasXk3cg?e=9NkZIj

    Kind Regards,
    Mihai

    Plugin Author Kuba Mikita

    (@kubitomakita)

    @mihain you need to update them both at once. You can download both Notification and Notification : Conditionals plugins, unzip them and upload via FTP, that should do the trick.

    Thread Starter mihain

    (@mihain)

    @kubitomakita not sure what you mean by “both at once”…

    The way I see it, these would be the steps:
    1. Download Notification plugin v 7.0.3(already Done)
    2. Download Notification: Conditionals plugin v 1.2.0 (already Done)
    3. Upload Notification plugin on WP Plugins Page
    4. Activate Notification plugin
    5. Upload Notification: Conditionals plugin on WP Plugins Page
    6. Activate Notification: Conditionals plugin

    Actually I did try this before but I can give it one more try.
    Should I switch the steps 4 and 5 with each other?

    Do you mean to upload them directly on the server?

    Thank you,
    Mihai

    • This reply was modified 4 years, 11 months ago by mihain.
    Plugin Author Kuba Mikita

    (@kubitomakita)

    Not exactly. To update via wp-admin you’d have to remove the plugins first, so here are the steps

    1. Download Notification plugin v 7.0.3 (already Done)
    2. Download Notification: Conditionals plugin v 1.2.0 (already Done)
    3. Go to Notification -> Settings and disable the Uninstallation checkboxes: https://kutt.it/9KRykY
    4. Deactivate and remove the Notification plugin
    5. Deactivate and remove the Notification : Conditionals plugin
    6. Upload Notification plugin and activate it
    7. Upload Notification : Conditionals plugin and activate it

    Thread Starter mihain

    (@mihain)

    Hi @kubitomakita,

    I tried to follow the steps you provided.
    Though, after step 6, I got the “White Page of Death”.

    Additionally, as mentioned above, we enabled some debugging on WP and also the following warnings are shown:

    Warning: ftp_nlist() expects parameter 1 to be resource, null given in /data/www/our_site/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 401

    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /data/www/our_site/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 225

    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /data/www/our_site/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 225

    These warnings are NOT present when:
    A) the Notification plugin v7.0.3 is not activated.
    B) the Notification plugin v6.3.2 is activated (and works OK)

    What should we do next?

    Thank you,
    Mihai

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Damn, that’s another issue.

    Are you able to define this in the wp-config.php?

    
    if (!defined('FS_METHOD')) define('FS_METHOD', 'direct');
    
    Plugin Author Kuba Mikita

    (@kubitomakita)

    Update: I just enforced this in the code. Please update to version 7.0.4. Will be released in a couple of minutes.

    Thread Starter mihain

    (@mihain)

    Hi,

    We do have that line in the wp-config.php.

    OK, I will try the latest version.

    I will get back with the result.

    Thank you,
    Mihai

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Issues updating Notification from version 6.3.2 to version 7.0.3’ is closed to new replies.