Skip to content

Fix deprecation and undefined array key#69

Open
froboy wants to merge 1 commit intoynorth-projects:mainfrom
froboy:fix/php-warnings
Open

Fix deprecation and undefined array key#69
froboy wants to merge 1 commit intoynorth-projects:mainfrom
froboy:fix/php-warnings

Conversation

@froboy
Copy link
Copy Markdown
Contributor

@froboy froboy commented Jun 30, 2025

This resolves two issues:

  1. When loading get-pdf, a "creation of dynamic property" warning.

    Deprecated function: Creation of dynamic property Drupal\openy_repeat\OpenyRepeatRepository::$memoryCache is deprecated in Drupal\openy_repeat\OpenyRepeatRepository->__construct() (line 62 of /var/www/html/docroot/modules/contrib/openy_repeat/src/OpenyRepeatRepository.php)

  2. When loading an empty PDF, an "undefined array" warning:

    Warning: Undefined array key "content" in Drupal\openy_repeat\Controller\RepeatController->getPdf() (line 549 of /var/www/html/docroot/modules/contrib/openy_repeat/src/Controller/RepeatController.php)

@froboy
Copy link
Copy Markdown
Contributor Author

froboy commented Jun 30, 2025

Oops! Looks like this duplicates #68.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant