Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I updated page_title from 7.x-2.5 to 7.x-2.6 this afternoon on my development instance. After running the database update script and clearing all caches, and before I pulled to production, I noticed all my custom page titles had been removed (see attached screenshot). Furthermore, the list of patterns in Configuration > Search and metadata > Page titles is now empty (see attached screenshot).
I'm running Drupal 7.12. Any ideas?
Comment | File | Size | Author |
---|---|---|---|
page_title-empty-list.jpg | 53.45 KB | mattkoltermann | |
page_title-custom-title-field.jpg | 103.5 KB | mattkoltermann |
Comments
Comment #1
nicholasThompsonHave you tried emptying cache? Try submitting the modules page? Looks like it cant find any of the include files anymore, which is very odd... Is there anything in the "modules" subfolder (withint page_title)?
Comment #2
Bandy CreditAttribution: Bandy commentedI have the problem too. Since version 7.x-2.6, all existing entries are no longer available. Cache is cleared.
Comment #3
Bandy CreditAttribution: Bandy commentedBack to 7.x-2.5 and all entries are back.
Comment #4
mattkoltermann CreditAttribution: mattkoltermann commentedYup, I cleared the cache. I just reverted the update and went through it again with the same results, too. Here's my process.
$ drush dl page_title
$ drush updatedb
$ drush cc all
Here's my git output when I run
$ git status
after drush dl'ing and git add'ing, if that's helpful:Comment #5
nicholasThompsonI've just had this happen to me on my own site. DAMNIT... Why didn't that show up earlier?!
/me debugs...
Comment #6
nicholasThompsonI just emptied my cache (after completely replicating the above problem) and my site returned to normal (running 7.x-2.6). I now cannot reproduce.
If its unreproducable, its going to be very hard to track down...
Comment #7
mattkoltermann CreditAttribution: mattkoltermann commentedThat was weird...everything seems to be fine for me now, too.
It seems when I cleared cache at the command line using
$ drush cc all
I experienced the issue, but when I clear the cache through the UI at at Configuration > Performance things are fine with 7.x-2.6. Is that even possible? That's all I got.Well, thanks for looking into it!
Comment #8
nicholasThompsonHmmm - that could be it. The first time I used drush, the second time I used the UI.
Not that it should make *any* difference..
Comment #9
j_ten_man CreditAttribution: j_ten_man commentedI also had the same issue. Ran the update with drush (drush updb). Throwing errors until I manually cleared the cache through the web ui.
Comment #10
justin.koh CreditAttribution: justin.koh commentedI had the same issue (and the same resolution), but I specifically cleared cache 3 times.
Comment #11
nicholasThompsonI think I've got it...
$ drush cc all
seems to always result in an empty array being stored in the cache, whereas a devel-based UI clear is roughly 50:50 (for me).I think that the process of clearing the cache interferes with hook_init(), module_implements() and module_invoke_all().
I am testing a work around for this locally and will patch -dev imminently.
Comment #12
nicholasThompsonI have tagged a 2.7 release for D6 and D7 which, locally and on my blog, do not reproduce the bug above. I have cleared cache and run "updb" several times and the settings persist.
I hope this works!
Comment #13
chefnelone CreditAttribution: chefnelone commentedSame here. Clear cache doesn't work.
Comment #14
j_ten_man CreditAttribution: j_ten_man commentedIf you clear the cache and then visit admin/config/search/page-title it seems to fix the issue. Otherwise, it may or may not be fixed.
Comment #15
nicholasThompsonAre you guys trying 2.7 or 2.6?
Comment #16
Bandy CreditAttribution: Bandy commentedUnfortunately, the problem with 7.x-2.7 still, back to 7.x-2.5 and everything okay again.
Comment #17
mattkoltermann CreditAttribution: mattkoltermann commentedThanks, Nicholas! 2.7 seems to work perfectly with
$ drush cc all
.Comment #18
nicholasThompsonBandy - did you try clearing your cache?
Comment #19
Bandy CreditAttribution: Bandy commentedYes, I did. Multiple. However, I do not know how that should go with the Drush. I use the flush-cache feature of Drupal.
Comment #20
Bandy CreditAttribution: Bandy commentedWith version 7.x-2.x-dev - 2012-May-11 it works. Thank you.
Comment #23
Niubbo75 CreditAttribution: Niubbo75 commentedHello all, still have the same issue with 7.x-2.7
After drush cc & drush updb I still have the problem, also if I clear cache from UI. I am having also another issue, default home page don't have a title and I have no way to set it for (I don't have the needed form), setting it directly into theme code don't help to close the issue.
Any idea on how to definitely fix this issue?
Best