• Resolved luminsol

    (@luminsol)


    Hi, I just upgraded to V7.0. It didn’t go smoothly, but I managed to fix my errors.

    Is there anything else we need to do to migrate from V6?

    I’m seeing a bunch of errors in the debug log. Some examples below. They show up when editing a Notification.

    type	E_NOTICE (8)
    info	Undefined property: BracketSpace\Notification\Defaults\Field\InputField::$options
    file	[shortened]/wp-content/plugins/notification/src/classes/Abstracts/Field.php
    line	124
    
    type	E_NOTICE (8)
    info	Undefined property: BracketSpace\Notification\Defaults\Field\InputField::$pretty
    file	[shortened]/wp-content/plugins/notification/src/classes/Abstracts/Field.php
    line	124
    
    type	E_NOTICE (8)
    info	Undefined property: BracketSpace\Notification\Defaults\Field\InputField::$checkbox_label
    file	[shortened]/wp-content/plugins/notification/src/classes/Abstracts/Field.php
    line	124
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Kuba Mikita

    (@kubitomakita)

    Thank you for the report! I’m going to patch them right away.

    Can you please give me some more info about the other errors and how did you fix them? Maybe there’s something we can improve on our end.

    Thanks!

    Thread Starter luminsol

    (@luminsol)

    Thanks for the super quick response.

    The first error I had was trying to upgrade the plugin, whilst also have a Plugin Update notification active.

    It killed WordPress, so I restored from backup, then deactivated the plugin and updated it.

    An error of type E_ERROR was caused in line 46 of the file [shortened]/wp-content/plugins/notification/inc/functions/resolver.php. Error message: Uncaught Error: Class 'BracketSpace\Notification\Core\Resolver' not found in [shortened]/wp-content/plugins/notification/inc/functions/resolver.php:46
    Stack trace:
    #0 [shortened]/wp-content/plugins/notification/class/Abstracts/Carrier.php(261): notification_resolve('Plugin Updated ...', Object(BracketSpace\Notification\Defaults\Trigger\Plugin\Updated))
    #1 [shortened]/wp-content/plugins/notification/class/Abstracts/Carrier.php(228): BracketSpace\Notification\Abstracts\Carrier->resolve_value('Plugin Updated ...', Object(BracketSpace\Notification\Defaults\Trigger\Plugin\Updated))
    #2 [shortened]/wp-content/plugins/notification/class/Abstracts/Trigger.php(423): BracketSpace\Notification\Abstracts\Carrier->resolve_fields(Object(BracketSpace\Notification\Defaults\Trigger\Plugin\Updated))
    #3 [shortened]/wp-content/plugins/notification/class/Abstracts/Trigger.php(623): BracketSpace\Notification\Abstracts\Trigger->resolve_fields()

    The other issue was due to the coding of my custom triggers and the dependency on your plugin (order of plugins loading issue). I had to change it to be called on the notification/element action as well as wrapping it inside the action because of:

    Error message: Uncaught Error: Class 'BracketSpace\Notification\Abstracts\Trigger' not found in...

    Plugin Author Kuba Mikita

    (@kubitomakita)

    This Resolver class not found error is rather weird. But I’m glad you resolved it.

    Switching to notification/element is a proper way to approach this ??

    Ok, I’ve patched the notices and will release this shortly.

    Please, let me know if you’ll find anything else!

    here too
    site completely down after automatic plugin upgrade

    removed plugin > site up

    debug mode > blank page with:

    Deprecated: notification/boot/initial è deprecata dalla versione 7.0.0! Utilizzare al suo posto notification/init. in /var/www/vhosts/ravenna.avisemiliaromagna.it/httpdocs/wp-includes/functions.php on line 5088

    (italian)

    please patch soon

    I’m also a customer for the “conditionals” add-on

    regards
    Claudio

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Thanks Claudio,

    have you upgraded Conditionals add-on too? It should be in version 1.2.0.

    Sorry Kuba, but I still see the main plugin in version 7.0.0 .
    If i will reinstall it I will have the same problem.

    For Conditional add-on there was no upgrade available.

    All plugins were fully updated.

    But the website was down with completely white page.

    What should i do now?

    And when the plugin and add-on will be reistalled, will I find all the previous settings and notifications?

    Thanks

    Plugin Author Kuba Mikita

    (@kubitomakita)

    The patch for the notices will be pushed in v7.0.1, but this isn’t a problem in your case.

    In your case, you have to upgrade the Conditionals plugin to version 1.2.0 because the old one is not compatible. You can grab this from your account at BracketSpace.

    All the data will stay in, but as prior to any WordPress updates, it’s advised to do a backup of your website.

    Everything back fine and working !

    Thanks
    Good support!

    sorry, last question:

    will the Conditional extension get updates in the regular update-core WP page or will I have to manually update it?

    I have Plesk doing all plugin updates automatically for this website: will the extesion be automatically upgraded too?

    Plugin Author Kuba Mikita

    (@kubitomakita)

    The Conditionals extension will get the updates in wp-admin, but you have to make sure you’ve provided the license key on the Notification -> Extensions screen.

    We integrate with the WP Updater so Plesk should pick it up as well.

    ok, thanks.

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Version 7.0.1 with patch for these notices has been released

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘V7.0 – Warnings in debug log’ is closed to new replies.