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

Bug: Installation issues. #6634

Closed
goodst8114 opened this issue Nov 9, 2023 · 9 comments
Closed

Bug: Installation issues. #6634

goodst8114 opened this issue Nov 9, 2023 · 9 comments
Labels

Comments

@goodst8114
Copy link

Sorry, I am a Chinese user.
If there is any inappropriate expression, please forgive me.

Description
A clear and concise description of what the bug is.

  • ChurchCRM version: 5.0.2
  • PHP version is the server running: 8.1.17
  • DB Server and Version are you running: 10.4.21-MariaDB

To Reproduce
Steps to reproduce the behavior:
An error occurred while I was installing.

Deprecated: Return type of Propel\Runtime\ActiveQuery\BaseModelCriteria::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\propel\propel\src\Propel\Runtime\ActiveQuery\BaseModelCriteria.php on line 261

Deprecated: Return type of ChurchCRM\data\Country::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\ChurchCRM\data\Country.php on line 28

Deprecated: Return type of Slim\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 112

Deprecated: Return type of Slim\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 124

Deprecated: Return type of Slim\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 135

Deprecated: Return type of Slim\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 145

Deprecated: Return type of Slim\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 155

Deprecated: Return type of Slim\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 165

Deprecated: Return type of Slim\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 112

Deprecated: Return type of Slim\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 124

Deprecated: Return type of Slim\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 135

Deprecated: Return type of Slim\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 145

Deprecated: Return type of Slim\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 155

Deprecated: Return type of Slim\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 165

Fatal error: Uncaught RuntimeException: Unexpected data in output buffer. Maybe you have characters before an opening <?php tag? in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\App.php:621 Stack trace: #0 C:\xampp\htdocs\prm\vendor\slim\slim\Slim\App.php(317): Slim\App->finalize(Object(Slim\Http\Response)) #1 C:\xampp\htdocs\prm\setup\index.php(29): Slim\App->run() #2 {main} thrown in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\App.php on line 621

Additional context
Add any other context about the problem here.

@goodst8114 goodst8114 added the bug label Nov 9, 2023
@DAcodedBEAT
Copy link
Contributor

Hi @goodst8114 ! Someone else reported a similar issue recently (#6610). Can you update to the latest version and see if this is still an issue?

@DAcodedBEAT
Copy link
Contributor

Also, do you know what page you were on when you experienced this issue?

@goodst8114
Copy link
Author

I've updated to the latest version, but I'm still having problems.

Deprecated: Return type of Propel\Runtime\ActiveQuery\BaseModelCriteria::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\propel\propel\src\Propel\Runtime\ActiveQuery\BaseModelCriteria.php on line 261

Deprecated: Return type of Slim\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 112

Deprecated: Return type of Slim\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 124

Deprecated: Return type of Slim\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 135

Deprecated: Return type of Slim\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 145

Deprecated: Return type of Slim\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 155

Deprecated: Return type of Slim\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 165

Deprecated: Return type of Slim\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 112

Deprecated: Return type of Slim\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 124

Deprecated: Return type of Slim\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 135

Deprecated: Return type of Slim\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 145

Deprecated: Return type of Slim\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 155

Deprecated: Return type of Slim\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 165

Fatal error: Uncaught RuntimeException: Unexpected data in output buffer. Maybe you have characters before an opening <?php tag? in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\App.php:621 Stack trace: #0 C:\xampp\htdocs\prm\vendor\slim\slim\Slim\App.php(317): Slim\App->finalize(Object(Slim\Http\Response)) #1 C:\xampp\htdocs\prm\setup\index.php(29): Slim\App->run() #2 {main} thrown in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\App.php on line 621

@goodst8114
Copy link
Author

goodst8114 commented Nov 9, 2023

Also, do you know what page you were on when you experienced this issue?

setup/

@DAcodedBEAT
Copy link
Contributor

hrm, I did a fresh installation of churchcrm (reset db and no config file) and did not have this error on my instance.
we might need to investigate further

@brianteeman
Copy link
Contributor

its a very old version of slim - probably doesnt support php 8

@goodst8114
Copy link
Author

goodst8114 commented Nov 9, 2023

I have updated xampp.
Apache 2.4.56
MariaDB 10.4.28
PHP 8.2.4
ChurchCRM-5.1.1

The same situation still happened...

Deprecated: Return type of Propel\Runtime\ActiveQuery\BaseModelCriteria::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\propel\propel\src\Propel\Runtime\ActiveQuery\BaseModelCriteria.php on line 261

Deprecated: Use of "self" in callables is deprecated in C:\xampp\htdocs\prm\ChurchCRM\data\Countries.php on line 278

Deprecated: Use of "self" in callables is deprecated in C:\xampp\htdocs\prm\ChurchCRM\data\Countries.php on line 278

Deprecated: Return type of Slim\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 112

Deprecated: Return type of Slim\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 124

Deprecated: Return type of Slim\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 135

Deprecated: Return type of Slim\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 145

Deprecated: Return type of Slim\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 155

Deprecated: Return type of Slim\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 165

Deprecated: Return type of Slim\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 112

Deprecated: Return type of Slim\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 124

Deprecated: Return type of Slim\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 135

Deprecated: Return type of Slim\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 145

Deprecated: Return type of Slim\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 155

Deprecated: Return type of Slim\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\Collection.php on line 165

Fatal error: Uncaught RuntimeException: Unexpected data in output buffer. Maybe you have characters before an opening <?php tag? in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\App.php:621 Stack trace: #0 C:\xampp\htdocs\prm\vendor\slim\slim\Slim\App.php(317): Slim\App->finalize(Object(Slim\Http\Response)) #1 C:\xampp\htdocs\prm\setup\index.php(29): Slim\App->run() #2 {main} thrown in C:\xampp\htdocs\prm\vendor\slim\slim\Slim\App.php on line 621

@DAcodedBEAT
Copy link
Contributor

@goodst8114 can you make sure your Config.php is accurate?

#6610 (comment) shows someone who had a similar problem and was able to fix it.

@goodst8114
Copy link
Author

Thank you, it has been successfully started!

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

No branches or pull requests

3 participants