Left Navigation Not loading on Sharepoint Server 2019 Modern Pages

Ashok 31 Reputation points
2020-10-21T15:48:21.16+00:00

Hi,

I have been having this issue since couple of days.

It seems like all the modern pages in different sites of the environment, the left navigation or quick launch stopped loading.

so i see on the console below error. I seem to not figure out anything.

Any help is appreciated.

ERROR:

sp-pages-assembly.js?uniqueId=xx Uncaught (in promise) TypeError: Cannot read property 'call' of undefined

at t (sp-pages-assembly.js?uniqueId=xx)
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,565 questions
{count} votes

10 answers

Sort by: Most helpful
  1. Heinrich Benade 11 Reputation points
    2020-11-27T13:04:46.983+00:00

    Installing KB4486675 resolved our issue with the Left Navigation:

    https://www.microsoft.com/en-us/download/details.aspx?id=102240

    2 people found this answer helpful.

  2. Chris Burton 11 Reputation points
    2020-12-30T19:52:12.887+00:00

    We have also been affected by this issue for months! I finally got fed up and did some sleuthing in the code. It seems that the sp-pages-assembly.js file got replaced by a newer version which is creating most of these issues.

    I will preface this by saying, always make backups before you try unverified solutions such as this one. I did such by copying the files I would be replacing in a backup directory, in the case that I need to revert back later.

    In this directory:

    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\TEMPLATE\LAYOUTS\Next\spclient

    There are some layout folders. One labeled 'default' and one as 'en-us'. 'en-us' in the URL pointed me to that folder as holding the offending file. In the console, it kept saying 'cannot read property 'call' of undefined' stemming from this file:

    https://river.nflibrary.ca/_layouts/15/next/spclient/en-us/sp-pages-assembly.js?uniqueId=madS1

    So I replaced the sp-pages-assembly.js file in the 'en-us' folder with the older file in the 'defaults' folder. (After backing it up)

    After this, the navigation came back. There are some things that still don't look right as labels aren't being updated from machine labels for example. but the navigation is back and we can edit modern pages again.

    You may also need to open a CMD as Admin and run IIS reset as well as doing a hard reload on the site to get the updates to appear as caching can keep you from seeing the changes until then.

    It seems that the navigation missing could be stemming from an issue with the publishing bar on modern sites as the navigation would appear again if I was in a list, that uses the modern layout but has a list bar instead of a publishing bar.

    It's not perfect, but it's at least usable again.

    52248-capture.png

    1 person found this answer helpful.

  3. Amos Wu-MSFT 4,051 Reputation points
    2020-10-22T07:47:00.4+00:00
    1. You could check if Quick Launch is enabled in the site settings.
      34167-image.png
    2. You need to check if there is any code hiding Quick Launch(SPFX inject CSS).

    After excluding the above two possibilities,you could try to change a browser to see if the issue still exists.
    If you need further help,please share more information to help us reproduce your issuse.Thank you.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  4. Anders Dahl 6 Reputation points
    2020-12-10T20:03:13.457+00:00

    I have the same issue on a freshly installed SP2019 farm (16.0.10366.12106).

    • I have created multiple web applications and site collections with the same issue when using modern team site STS#3

    Same issues reported here:
    https://learn.microsoft.com/en-us/answers/questions/80671/shareppoint-2019-modern-team-site-template-issue.html?childToView=163899#answer-163899
    https://techcommunity.microsoft.com/t5/sharepoint/sp2019-server-quick-launch-nav-missing-on-modern-sites-after-aug/m-p/1710029

    47035-image.png


  5. Damien NOBLET 1 Reputation point
    2021-07-28T07:37:56.613+00:00

    Hi, i installed a fresh SP2019 Farm with CU June 2021 and i have exactly same problems : no left navigation, no ribon (no edit page button) and errors in console with sp-pages-assembly.

    I installed the last CU (july) but propblems persists, i tested to add safe control (https://www.kaana-it.at/cannot-edit-modern-design-pages-after-update/) with no success.

    The only workaround was to restore the file sp-pages-assembly with an old SP2019 Farm but with no warranties as side effect :(

    Any other workaround ?

    0 comments No comments