• Resolved Nat Miletic

    (@nmiletic)


    Hi,

    I am on Pantheon for this site. I am trying to update your plugin from v6.3.2 to v7.0.3 after updating WordPress to version 5.4. For whatever reason when I update this plugin and enable git mode in Pantheon the site crashes. If I disable git and go back to SFTP mode it starts to work again. This is not an issue in the current version of the plugin v6.3.2.

    Here is the error message I am experiencing post update:
    Uncaught BracketSpace\Notification\Vendor\Micropackage\Templates\Exceptions\StorageException: Storage templates base path: /mypath/wp-content/plugins/notification/src/templates must exists and be a directory in /mypath/wp-content/plugins/notification/vendor/micropackage/templates/src/Storage.php:44
    Stack trace:
    #0 /mypath/wp-content/plugins/notification/src/classes/Runtime.php(129): BracketSpace\Notification\Vendor\Micropackage\Templates\Storage::add(‘templates’, ‘/mypath/0…’)
    #1 /mypath/wp-content/plugins/notification/src/classes/Runtime.php(87): BracketSpace\Notification\Runtime->templates()

    etc…

    I can provide more info if you reach out to me via email at [redacted]

    • This topic was modified 6 years, 2 months ago by Jose Castaneda. Reason: removed email

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • I am having the same issue on Google App Engine.

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Thanks for reporting this! I’d say the file permissions are the reason, but I’m going to set up the Pantheon website today and debug this.

    @delusive75 is there any particular setting in Google App Engine you are using which causes this? Do you get the same error?

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Ok, I confirm the error exists with Git mode in Pantheon, due to the file permissions and “wrong” Filesystem method.

    Fix for this is to put: if (!defined('FS_METHOD')) define('FS_METHOD', 'direct'); in your wp-config.php file.

    @delusive75 please let me know if this helped in your case as well.

    I’ve already wrote the doc for this issue.

    Thread Starter Nat Miletic

    (@nmiletic)

    Sorry but this did not work for me. I added this line to my wp-config.php file, updated the plugin, enabled Git mode and I am now getting the same error message as before.

    Fatal error: Uncaught BracketSpace\Notification\Vendor\Micropackage\Templates\Exceptions\StorageException: Storage templates base path: /mypath/wp-content/plugins/notification/src/templates must exists and be a directory in /mypath/wp-content/plugins/notification/vendor/micropackage/templates/src/Storage.php:44 Stack trace: #0 /mypath/wp-content/plugins/notification/src/classes/Runtime.php(129): BracketSpace\Notification\Vendor\Micropackage\Templates\Storage::add(‘templates’, ‘/srv/bindings/0…’) #1 /mypath/wp-content/plugins/notification/src/classes/Runtime.php(87): BracketSpace\Notification\Runtime->templates() #2 /mypath/wp-content/plugins/notification/notification.php(96): BracketSpace\Notification\Runtime->init() #3 /mypath/wp-includes/class-wp-hook.php(287 in /mypath/wp-content/plugins/notification/vendor/micropackage/templates/src/Storage.php on line 44

    @kubitomakita this worked for me with the GCS (Google cloud storage) connector.

    Thanks!

    • This reply was modified 6 years, 1 month ago by delusive75.
    Plugin Author Kuba Mikita

    (@kubitomakita)

    @nmiletic I just released version 7.0.4 which should help on Patheon as well

    Thread Starter Nat Miletic

    (@nmiletic)

    Yup that worked thank you. The plugin works again on Pantheon post 7.0.4 update.

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Thanks for the update!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘New version does not work on Pantheon’ is closed to new replies.