Moving from an old and convoluted D7 I've had some luck deleting css-injector and (I think) display suite, but still trigger these errors and failure:
Deprecated function: realpath(): Passing null to parameter #1 ($path) of type string is deprecated in BackdropLocalStreamWrapper->getLocalPath() (line 380 of [path]/backdrop/core/includes/stream_wrappers.inc).
Deprecated function: realpath(): Passing null to parameter #1 ($path) of type string is deprecated in BackdropLocalStreamWrapper->getLocalPath() (line 380 of [path]/backdrop/core/includes/stream_wrappers.inc).
Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in image_menu() (line 45 of [path]/backdrop/core/modules/image/image.module).
Deprecated function: realpath(): Passing null to parameter #1 ($path) of type string is deprecated in BackdropLocalStreamWrapper->getLocalPath() (line 380 of [path]/backdrop/core/includes/stream_wrappers.inc).
Deprecated function: realpath(): Passing null to parameter #1 ($path) of type string is deprecated in BackdropLocalStreamWrapper->getLocalPath() (line 380 of [path]/backdrop/core/includes/stream_wrappers.inc).
Deprecated function: realpath(): Passing null to parameter #1 ($path) of type string is deprecated in BackdropLocalStreamWrapper->getLocalPath() (line 380 of [path]/backdrop/core/includes/stream_wrappers.inc).
The update process was aborted prematurely while running update #1018 in system.module. All errors have been logged. You may need to check the watchdog database table manually.
Any pointers on what I should be looking to clean out? Many thanks.
Comments
Hi breckenr. Welcome to the Backdrop CMS forum.
I'm not sure what might be producing the Deprecation notices. To get rid of those temporarily you can probably revert to PHP 7.4.
As for the fatal error in system_update_1018, this has been documented but not fixed yet. Check out the proposed fix here:
https://github.com/backdrop/backdrop-issues/issues/6751
Others have been successful by applying my proposed fix there.
Thanks. Some progress, but also some weirdness.
I've done the php downgrade.
php -v
PHP 7.4.33 (cli) (built: Dec 24 2024 07:11:50) ( NTS )
But still see the deprecation errors, and a new fatal stop:
The update process was aborted prematurely while running update #1002 in imageblock.module. All errors have been logged. You may need to check the
watchdog
database table manually.The debug error on the updating page is:
Any pointers much appreciated.
A little more information on this. Removing image block gets us through the upgrade, but we can't then enable image block after the installation. The error is
Error: Attempt to assign property "layout_title" on null in layout_get_block_usage() (line 3639 of /var/www/html/backdrop/core/modules/layout/layout.admin.inc).