[GH-ISSUE #111] PHP Fatal error: Uncaught Error: Non-static method DBDiff\Params\ParamsFactory::merge() cannot be called statically #76

Open
opened 2026-02-25 21:33:12 +03:00 by kerem · 0 comments
Owner

Originally created by @Desresen on GitHub (Dec 15, 2020).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/111

Hi!
Using PHP 7.4
I catch fatal:
PHP Fatal error: Uncaught Error: Non-static method DBDiff\Params\ParamsFactory::merge() cannot be called statically

Suggestion to solve this issue
Edit class ParamsFactory
make protected method merge static OR replace :: to -> in 21 and 23 lines

Originally created by @Desresen on GitHub (Dec 15, 2020). Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/111 Hi! Using PHP 7.4 I catch fatal: PHP Fatal error: Uncaught Error: Non-static method DBDiff\Params\ParamsFactory::merge() cannot be called statically **Suggestion to solve this issue** Edit class ParamsFactory make protected method **merge** static OR replace **::** to **->** in 21 and 23 lines
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/DBDiff#76
No description provided.