Symfony\Component\ClassLoader\ApcClassLoader depreceated
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by inspecting settings.php and the shown ApcClassLoader setup, then check the Symfony v4 deprecation guidance to determine the supported replacement. Done means the settings configuration no longer throws an error while preserving the intended class-loader behavior.
Written by the indexing model from the issue text.
Description
since v4 of Symfony Symfony\Component\ClassLoader\ApcClassLoader is deprecated meaning the following code in settings.php throws an error
if ($settings['hash_salt']) {
$prefix = 'drupal.' . hash('sha256', 'drupal.' . $settings['hash_salt']);
$apc_loader = new \Symfony\Component\ClassLoader\ApcClassLoader($prefix, $class_loader);
unset($prefix);
$class_loader->unregister();
$apc_loader->register();
$class_loader = $apc_loader;
}
Not too familiar with ApcClassLoader to know what the alternative is.
- Dominant language
- PHP
- Stars
- 46
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws-samples/eb-php-drupal
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
aws-samples/eb-php-drupal#13 · 8 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
aws-samples/eb-php-drupal#6 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
aws-samples/eb-php-drupal#5 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
aws-samples/eb-php-drupal#4 · 1 comment · 3 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
aws-samples/eb-php-drupal#3 · 2 comments ·
All issues in aws-samples/eb-php-drupal
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
WordPress/hosting-handbook#506 ·
Maintainers usually reply within 2 days
-
Installing a plugin with composer_packages installs dev dependencies and breaks the autoloader (Error 500)Possibly taken @Boy132 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
nginx: static-file locations drop the security headers, and the dotfile deny is matched after themOpenbug Low Security
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
backdrop-contrib/commerce#60 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100