Forum

Thread tagged as: Question, Error, Installation

Sidebar Missing After Update

Sorry, more update shenanigans. Local build works fine, sidebar is missing on staging server as shown.

Dasboard page Imgur

Settings page Imgur

Here's the error code on the settings page

Uncaught Error: Call to a member function find_app_title() on boolean in /home/pixelsmi/public_html/clients/dev1/perch/core/templates/layout/sidebar.php:40 Stack trace: #0 /home/pixelsmi/public_html/clients/dev1/perch/core/templates/layout/top.php(76): include() #1 /home/pixelsmi/public_html/clients/dev1/perch/core/inc/top.php(20): include('/home/pixelsmi/...') #2 /home/pixelsmi/public_html/clients/dev1/perch/core/settings/index.php(18): include('/home/pixelsmi/...') #3 {main} thrown in
/home/pixelsmi/public_html/clients/dev1/perch/core/templates/layout/sidebar.php
on line
40

Latest versions of Blog, Gallery and Forms are loaded.

apps.php code

<?php
  $apps_list = [
        'perch_forms',
        'perch_gallery',
        'perch_blog',
  ];

Can't post diagnostics as that page isn't working.

Mark Phoenix

Mark Phoenix 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

What's the difference between the servers? Is it running PHP 5.4 or greater?

Still working at it. And it's 7.0.10 locally, 7.0.17 on the staging server.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Have you run the update to create the new database tables required?

If you mean the update option on the diagnostics page, that isn't visible. I'm only getting the header bar and error message on that page.

Drew McLellan

Drew McLellan 2638 points
Perch Support

What happens if you go to /perch/core/update/ ?

Not much I'm afraid. The dashboard page refreshes just as it was.

Just to add that the dashboard is the only page that shows. All other pages in Perch are as the settings page pictured above, header bar and error message where the sidebar should be.

Drew McLellan

Drew McLellan 2638 points
Perch Support

How about /perch/core/update/?force=update ?

Yes, that worked. Thanks Drew!