Hello,
I was having problems with my hosting service and during that time I was trying to create albums using Lightroom Publishing Service, my normal workflow. Lots of strange thginbgs were happening.
I have my hosting issues resolved now and am trying to clean up things that were added to my site. I go into Publisher in Backlight to the galleries albums section. I then navigate to the albums I want to delete, click on the album name and then I can delete it. All is fine except for 2 albums. When I click on the album name I get this;
Call to a member function getTitle() on bool|#0 /home/jackphoto11/public_html/jackonly/backlight/modules/module-framework/controllers/Controller.php(56): PublisherAdminController->view_album(â298279â, âlistâ) #1 /home/jackphoto11/public_html/jackonly/backlight/modules/module-framework/models/Dispatchable.php(136): Controller->dispatch(Array) #2 /home/jackphoto11/public_html/jackonly/backlight/modules/module-framework/Framework.php(76): Dispatchable->dispatch() #3 /home/jackphoto11/public_html/jackonly/backlight/index.php(32): Framework->route() #4 {main}|URL: /jackonly/backlight/index.php
How can I delete these albums? I went onto my site via FileZilla and those albums are not there, just on my website via a browser.
Hi Jack, I think this could be caused by a missing template. Can you visit the equivalent page on your server to https://yoursite.com/backlight/publisher/list_albums/1/ and see what the template name/s are for the two albums? Are they listed or shown as âN/Aâ?
What I did, which is my normal workflow, is I created an album in Lightroom using Publisher Services. After a while Lightroom gave me a timeout error. I re-published the album again, and it did the same thing, timeout error. I went to my site and there were multiple albums there (I only created 2). Clicking on any of them gave me a âPage does not exist errorâ.
I deleted them in Lightroom Publishing Services.
I then went to my site via FileZilla and deleted all of those âbadâ albums that were still there.
Then went to Backlight > Publisher and there were still there. So I was able to delete all but 2 of them. The 2 I still have are the 2 that have N/A for templates. When I click on one of them, I get the text message I pasted in my first post on this topic, and canât do anything else with them. If I go the galleries screen and select one of those albums, and select delete, I get a âcannot delete the albumâ message.
I then contacted my hosting provider and they found they needed to update their system on that site, as it was running an unstable version. I never got their email indicating an update was needed. Once he updated the system, it made getting to my site fast and reliable again.
Then I went back and created multiple new albums in Lightroom and used Publishing Services to get them up to the site. All worked again, as it did/should.
But I still have those 2 âbadâ albums with the N/A template that I cannot get rid of.
Iâve put in a fix. Can you do the following first though - hover your mouse over the N/A links. Is there a number at the end of the URL that the link is pointing to?
Whatâs happened is that the albums are either using a template that no longer exists or donât have a template set. The answer to the above will help me work out which scenario has happened. Neither should be able to happen, but clearly for some reason it has in your case.
After checking the URLs, can you visit the Backlight Modules page and reinstall the Publisher Module (name module-publisher). After doing that you should be able to view the album details and delete the albums in the Backlight Publisher.
Hi @jackm, reinstall links only appear if youâre already running the latest. If you just update your modules normally then this fix should come through.
When I select the âUpdate all modulesâ option, I get a red banner message that âThe module was not installedâ.
When I select the âUpdate allâ in the Backlight 5 section I get a red banner message that says:
The module was not installed
Your host does not provide support for the ZipArchive PHP package. Either enable the âzipâ module via the PHP settings in your hosting Control Panel, or contact your hostâs technical support for assistance.
I contacted my host and they enabled the âzipâ module.
The Backlight 5 modules then did update.
I went into Backlight Publisher and tried to delete the âbadâ albums again.
When I selected the album name I got this screen again;
Call to a member function getTitle() on bool|#0 /home/jackphoto11/public_html/jackonly/backlight/modules/module-framework/controllers/Controller.php(56): PublisherAdminController->view_album(â298279â, âlistâ) #1 /home/jackphoto11/public_html/jackonly/backlight/modules/module-framework/models/Dispatchable.php(136): Controller->dispatch(Array) #2 /home/jackphoto11/public_html/jackonly/backlight/modules/module-framework/Framework.php(76): Dispatchable->dispatch() #3 /home/jackphoto11/public_html/jackonly/backlight/index.php(32): Framework->route() #4 {main}|URL: /jackonly/backlight/index.php
No other option to delete the âbadâ albums.
Also the hosting service has a PHP 8.1 available to update. I did NOT up date to that version. Should I?
Hi Jack, my apologies. Something went wrong with our deployment, and the fix didnât come through. I have since fixed this. Can you try to reinstall module-publisher again and then view and delete the albums?
We support PHP 8.1, however the risk is that your host may not have as stable a setup for that version as they do for the version youâre currently on. If youâre able to try PHP 8.1 and switch back if needed then I recommend trying it.