DDC-1056: Using the StaticPHPDriver throws PHP Error Undefined property: Doctrine\ORM\Mapping\Driver\StaticPHPDriver::$_classNames #1323

Closed
opened 2026-01-22 13:10:18 +01:00 by admin · 5 comments
Owner

Originally created by @doctrinebot on GitHub (Mar 3, 2011).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user ratius:

Using the StaticPHPDriver throws PHP Error Undefined property: Doctrine\ORM\Mapping\Driver\StaticPHPDriver::$_classNames

this is due to the class not having the two required instance variables $this->_classNames and $this->_fileExtension.

Originally created by @doctrinebot on GitHub (Mar 3, 2011). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user ratius: Using the StaticPHPDriver throws PHP Error Undefined property: Doctrine\ORM\Mapping\Driver\StaticPHPDriver::$_classNames this is due to the class not having the two required instance variables $this->_classNames and $this->_fileExtension.
admin added the Bug label 2026-01-22 13:10:18 +01:00
admin closed this issue 2026-01-22 13:10:18 +01:00
Author
Owner

@doctrinebot commented on GitHub (Mar 3, 2011):

Comment created by ratius:

I have attached the patch that resolves the issue.

@doctrinebot commented on GitHub (Mar 3, 2011): Comment created by ratius: I have attached the patch that resolves the issue.
Author
Owner

@doctrinebot commented on GitHub (Mar 3, 2011):

Comment created by ratius:

I applied the patch and added a pull request. https://github.com/doctrine/doctrine2/pull/34

@doctrinebot commented on GitHub (Mar 3, 2011): Comment created by ratius: I applied the patch and added a pull request. https://github.com/doctrine/doctrine2/pull/34
Author
Owner

@doctrinebot commented on GitHub (Mar 4, 2011):

Comment created by @beberlei:

Fixed

@doctrinebot commented on GitHub (Mar 4, 2011): Comment created by @beberlei: Fixed
Author
Owner

@doctrinebot commented on GitHub (Mar 4, 2011):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Mar 4, 2011): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Dec 13, 2015):

Imported 1 attachments from Jira into https://gist.github.com/7595dedebd1f70e6cd9b

@doctrinebot commented on GitHub (Dec 13, 2015): Imported 1 attachments from Jira into https://gist.github.com/7595dedebd1f70e6cd9b - [10949_0001-DDC-1056-PHPStaticDriver-was-missing-two-instance-va.patch](https://gist.github.com/7595dedebd1f70e6cd9b#file-10949_0001-DDC-1056-PHPStaticDriver-was-missing-two-instance-va-patch)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1323