Problem/Motivation

If there are no social media links in the theme settings, then the following warning is on every page load.
Warning: Undefined array key "x" in uswds_preprocess_page() (line 100 of drupal/themes/contrib/uswds/preprocess/layout/page.preprocess.inc)

Steps to reproduce

In theme settings have all social media link blank.

CommentFileSizeAuthor
#2 uswds-3452755.patch368 bytessgoodwin

Issue fork uswds-3452755

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

    Comments

    sgoodwin created an issue. See original summary.

    sgoodwin’s picture

    StatusFileSize
    new368 bytes

    the patch file adds the footer variable 'x' to the list of footer variables in the page.preprocess.inc file.

    After this update the warning goes away.

    sgoodwin’s picture

    Status: Active » Needs review
    jrglasgow’s picture

    Status: Needs review » Fixed

    this is already fixed in the 3.2.x version

    Now that this issue is closed, review the contribution record.

    As a contributor, attribute any organization that helped you, or if you volunteered your own time.

    Maintainers, credit people who helped resolve this issue.

    Status: Fixed » Closed (fixed)

    Automatically closed - issue fixed for 2 weeks with no activity.