Got some errors on home page.

Created on 9 May 2024, about 2 months ago
Updated 13 May 2024, about 1 month ago

Problem/Motivation

When I installed the theme and set it as default and checked home page I got some errors.

Warning: Undefined array key 0 in smallbusiness_preprocess_page() (line 50 of themes\contrib\smallbusiness\smallbusiness.theme).
Warning: array_flip(): Can only flip string and integer values, entry skipped in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 278 of core\lib\Drupal\Core\Entity\EntityStorageBase.php).
Warning: Undefined array key 0 in smallbusiness_preprocess_page() (line 50 of themes\contrib\smallbusiness\smallbusiness.theme).
Warning: array_flip(): Can only flip string and integer values, entry skipped in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 278 of core\lib\Drupal\Core\Entity\EntityStorageBase.php).
Warning: Undefined array key 0 in smallbusiness_preprocess_page() (line 50 of themes\contrib\smallbusiness\smallbusiness.theme).
Warning: array_flip(): Can only flip string and integer values, entry skipped in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 278 of core\lib\Drupal\Core\Entity\EntityStorageBase.php).
Warning: Undefined array key 0 in smallbusiness_preprocess_page() (line 50 of themes\contrib\smallbusiness\smallbusiness.theme).
Warning: array_flip(): Can only flip string and integer values, entry skipped in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 278 of core\lib\Drupal\Core\Entity\EntityStorageBase.php).
Warning: Undefined array key 0 in smallbusiness_preprocess_page() (line 50 of themes\contrib\smallbusiness\smallbusiness.theme).
Warning: array_flip(): Can only flip string and integer values, entry skipped in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 278 of core\lib\Drupal\Core\Entity\EntityStorageBase.php).

Steps to reproduce

1) Install the theme and set it to default.
2) check the home page

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇮🇳India adarshv

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @adarshv
  • First commit to issue fork.
  • Merge request !10Issue#3446259: Resolve php issue. → (Open) created by sakthi_dev
  • Status changed to Needs review about 2 months ago
  • 🇮🇳India sakthi_dev

    Please review.

  • Status changed to Needs work about 1 month ago
  • 🇵🇭Philippines paraderojether

    Hi sakthi_dev

    I reviewed MR!10, however it the MR is skipped or not applied cleanly.

    smallbusiness git:(main) ✗ curl https://git.drupalcode.org/project/smallbusiness/-/merge_requests/10.diff | git apply -v
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100   623    0   623    0     0   1232      0 --:--:-- --:--:-- --:--:--  1248
    Skipped patch 'smallbusiness.theme'.
    smallbusiness git:(main) ✗

    Please check and advise.
    Thank you.

  • First commit to issue fork.
  • Status changed to Needs review about 1 month ago
  • 🇮🇳India arunkumark Coimbatore

    Rerolles the patch to resolve the issue.

  • 🇮🇳India Kanchan Bhogade

    Hi
    I've tried to apply MR !10 on Drupal 10
    But MR is failing
    Adding error screenshot for reference

Production build 0.69.0 2024