Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to migrate from Alpha to Beta 2 #2030

Open
DawoudIO opened this issue Feb 22, 2025 · 2 comments
Open

Trying to migrate from Alpha to Beta 2 #2030

DawoudIO opened this issue Feb 22, 2025 · 2 comments

Comments

@DawoudIO
Copy link

Trying to move my project to latest version from Alpha - https://github.com/ChurchCRM/CRM/pull/7268/files

But keep getting the following error, any help would be great

src % php vendor/bin/propel --config-dir=propel  model:build --output-dir=ChurchCRM/model

In ConfigurationManager.php line 218:
                                                                                                                                               
  Could not process configuration. Please check the property in error message: The child config "database" under "propel" must be configured.  
@DawoudIO
Copy link
Author

> php vendor/bin/propel --config-dir=propel model:build
PHP Warning:  Trying to access array offset on null in /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/src/Propel/Generator/Command/ModelBuildCommand.php on line 137

Warning: Trying to access array offset on null in /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/src/Propel/Generator/Command/ModelBuildCommand.php on line 137
PHP Fatal error:  Uncaught TypeError: Propel\Generator\Command\AbstractCommand::createDirectory(): Argument #1 ($directory) must be of type string, null given, called in /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/src/Propel/Generator/Command/ModelBuildCommand.php on line 137 and defined in /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/src/Propel/Generator/Command/AbstractCommand.php:127
Stack trace:
#0 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/src/Propel/Generator/Command/ModelBuildCommand.php(137): Propel\Generator\Command\AbstractCommand->createDirectory(NULL)
#1 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/symfony/console/Command/Command.php(326): Propel\Generator\Command\ModelBuildCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Propel\Generator\Command\ModelBuildCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/src/Propel/Generator/Application.php(31): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/symfony/console/Application.php(175): Propel\Generator\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/bin/propel.php(37): Symfony\Component\Console\Application->run()
#7 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/bin/propel(4): require('/Users/gdawoud/...')
#8 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/bin/propel(119): include('/Users/gdawoud/...')
#9 {main}
  thrown in /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/src/Propel/Generator/Command/AbstractCommand.php on line 127

Fatal error: Uncaught TypeError: Propel\Generator\Command\AbstractCommand::createDirectory(): Argument #1 ($directory) must be of type string, null given, called in /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/src/Propel/Generator/Command/ModelBuildCommand.php on line 137 and defined in /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/src/Propel/Generator/Command/AbstractCommand.php:127
Stack trace:
#0 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/src/Propel/Generator/Command/ModelBuildCommand.php(137): Propel\Generator\Command\AbstractCommand->createDirectory(NULL)
#1 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/symfony/console/Command/Command.php(326): Propel\Generator\Command\ModelBuildCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Propel\Generator\Command\ModelBuildCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/src/Propel/Generator/Application.php(31): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/symfony/console/Application.php(175): Propel\Generator\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/bin/propel.php(37): Symfony\Component\Console\Application->run()
#7 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/bin/propel(4): require('/Users/gdawoud/...')
#8 /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/bin/propel(119): include('/Users/gdawoud/...')
#9 {main}
  thrown in /Users/gdawoud/Development/ChurchCRM/CRM/src/vendor/propel/propel/src/Propel/Generator/Command/AbstractCommand.php on line 127

@DawoudIO
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant