Questions tagged [symfony-4.2]

Symfony is a PHP framework developed by SensioLabs. Symfony 4.2 was released in November 2018.

Symfony is a PHP web framework first released in July 2011 and was created by SensioLabs. Symfony 4.2 was released in November 2018.

Bug fixes

  • bug #29343 [Form] Handle all case variants of "nan" when parsing a number (@mwhudson, @xabbuh)
  • bug #29373 [Routing] fix trailing slash redirection (@nicolas-grekas)
  • bug #29355 [PropertyAccess] calculate cache keys for property setters depending on the value (@xabbuh)
  • bug #29369 [DI] fix combinatorial explosion when analyzing the service graph (@nicolas-grekas)
  • bug #29349 [Debug] workaround opcache bug mutating "$this" !?! (@nicolas-grekas)
  • bug #29344 Fixes sprintf(): Too few arguments in Translator (@stephanedelprat)
  • bug #29318 [Console] Move back root exception to stack trace in verbose mode (@chalasr)

Documentation / Resources

  • Overview: Documentation for current version.
  • Flex: New way to manage Symfony apps.
  • Best Practices: Best practices for developing web apps, esp. the ones using the full-stack Symfony framework.
  • Symfony Recipes Server: Includes official and community recipes.
96 questions
-1
votes
1 answer

How to make a search query for Max and Min in Symfony4?

I have two fields for Searching, that is, Min and Maximum. Here, I want to display all the products which are between min and maximum. Help me I'm new to Symfony.
user9775822
-1
votes
1 answer

Where should I place my users method in Symfony 4?

I followed the symfony 4 documentation to make a login form (https://symfony.com/doc/current/security/form_login_setup.html) and I added a registration form in the same controller. I'm a beginner, and I would like to make an account page where the…
user11084147
-1
votes
2 answers

Call to protected method Symfony\Bundle\FrameworkBundle\Controller\Controller::generateUrl()

Recently I am upgrading the system to Symfony 4.2, in one of my page, I encountered the error saying Call to protected method Symfony\Bundle\FrameworkBundle\Controller\Controller::generateUrl() from context…
Captain Planet
  • 408
  • 3
  • 19
-2
votes
1 answer

Can someone give me an Idea, how to make an event that is triggered onDelete(remove) in Symfony4

I'd like to make an event that is triggered on delete. When someone deletes an article I take the user email from the article and send an email with information which article is deleted and when. I work with the Symfony 4 framework. I have no…
-2
votes
2 answers

What's the issue on my repository function?

I get the following error when i try to use this in my controller Return value of App\Repository\AccountRepository::findOneByAccountCode() must be an instance of App\Repository\Bank or null, instance of App\Entity\Account returned /** *…
-2
votes
1 answer

Symfony 4 translation files in directories

I want to save translation files in directory, for example: /translations/admin/messages.en.xlf /translations/admin/validation.en.xlf /translations/client/messages.en.xlf /translations/client/validation.en.xlf And how to use…
1 2 3 4 5 6
7