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

Warning when re-running migration on +3.4 #97

Open
faomjaime opened this issue Dec 14, 2024 · 1 comment · May be fixed by #110 or #109
Open

Warning when re-running migration on +3.4 #97

faomjaime opened this issue Dec 14, 2024 · 1 comment · May be fixed by #110 or #109
Assignees
Labels
bug Something isn't working Bug:1:Low
Milestone

Comments

@faomjaime
Copy link

faomjaime commented Dec 14, 2024

The following PHP errors are present on OJS 3.4.0.4 and plugin 3.0.0.1 with PHP 8.0 when I run the php upgrade command from terminal.

Plugin will not sync with PN

PHP Warning: Array to string conversion in /public/plugins/generic/pln/classes/migration/upgrade/I57_UpdateSettings.php on line 45

PHP Notice: unserialize(): Error at offset 0 of 5 bytes in /public/plugins/generic/pln/classes/migration/upgrade/I57_UpdateSettings.php on line 45

PHP Warning: Array to string conversion in /public/plugins/generic/pln/classes/migration/upgrade/I57_UpdateSettings.php on line 45

PHP Notice: unserialize(): Error at offset 0 of 5 bytes in /public/plugins/generic/pln/classes/migration/upgrade/I57_UpdateSettings.php on line 45

@jonasraoni
Copy link
Collaborator

Hi!

We can omit these warnings, but the final result should be ok. I'll need more details to understand the problem, can you post the error log and the log from the plugin on the forum and tag me (I'm also jonasraoni there)?

@jonasraoni jonasraoni self-assigned this Jan 31, 2025
@jonasraoni jonasraoni added the enhancement New feature or request label Jan 31, 2025
@jonasraoni jonasraoni added this to the 2.0.4-6 milestone Jan 31, 2025
@jonasraoni jonasraoni added bug Something isn't working Bug:1:Low and removed enhancement New feature or request labels Jan 31, 2025
jonasraoni added a commit to jonasraoni/pln that referenced this issue Jan 31, 2025
jonasraoni added a commit to jonasraoni/pln that referenced this issue Jan 31, 2025
jonasraoni added a commit to jonasraoni/pln that referenced this issue Jan 31, 2025
jonasraoni added a commit to jonasraoni/pln that referenced this issue Jan 31, 2025
@jonasraoni jonasraoni changed the title PHP Errors Warning when re-running migration on +3.4 Jan 31, 2025
This was linked to pull requests Jan 31, 2025
@jonasraoni jonasraoni modified the milestones: 2.0.4-6, 3.0.0-1, 3.0.0-2 Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Bug:1:Low
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants