DDC-2100: Getting Started: Code First PHP fatal error:Call to undefined method Bug::setDescription() #2643

Closed
opened 2026-01-22 13:59:03 +01:00 by admin · 1 comment
Owner

Originally created by @doctrinebot on GitHub (Oct 24, 2012).

Originally assigned to: @ostrolucky on GitHub.

Jira issue originally created by user bronze1man:

http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/tutorials/getting-started.html
in file create_bug.php
$bug->setDescription("Something does not work!");
but the class Bug do not have setDescription function.

ps:
try find "setDescription" on that page. there is only one .

Originally created by @doctrinebot on GitHub (Oct 24, 2012). Originally assigned to: @ostrolucky on GitHub. Jira issue originally created by user bronze1man: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/tutorials/getting-started.html in file create_bug.php $bug->setDescription("Something does not work!"); but the class Bug do not have setDescription function. ps: try find "setDescription" on that page. there is only one .
admin added the Documentation label 2026-01-22 13:59:03 +01:00
admin closed this issue 2026-01-22 13:59:04 +01:00
Author
Owner

@ostrolucky commented on GitHub (Aug 3, 2018):

Fixed in 142c20aad1

@ostrolucky commented on GitHub (Aug 3, 2018): Fixed in https://github.com/doctrine/doctrine2/commit/142c20aad1413e64082a5a9a2e5ee49617e3a1a0
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2643