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

Issue with PHP 8.3 or other code issue (probably?) #3

Open
BastianHammer opened this issue Jan 10, 2025 · 2 comments
Open

Issue with PHP 8.3 or other code issue (probably?) #3

BastianHammer opened this issue Jan 10, 2025 · 2 comments

Comments

@BastianHammer
Copy link

Hi Alex,

I've just tried the webhooks on Suite 8.8 beta and it only installed up to 80 something % in the module loader.

Then, I've check via CLI for 8.3 compatibility and syntax and found an issue:

find . -type f -iname '*.php' -exec /usr/bin/php -l {} \;
No syntax errors detected in ./manifest.php
No syntax errors detected in ./SugarModules/custom/Extension/modules/Administration/Ext/Language/en_us.lang.php
No syntax errors detected in ./SugarModules/custom/Extension/modules/Administration/Ext/Language/ru_ru.lang.php
No syntax errors detected in ./SugarModules/custom/Extension/modules/Administration/Ext/Administration/WEB_HOOK REQUEST.php
No syntax errors detected in ./SugarModules/language/application/en_us.lang.php
No syntax errors detected in ./SugarModules/language/application/ru_ru.lang.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/vardefs.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/Menu.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/SenderRequest.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/language/en_us.lang.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/language/ru_ru.lang.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/WEBH_HOOKS_REQUEST.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/metadata/dashletviewdefs.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/metadata/editviewdefs.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/metadata/listviewdefs.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/metadata/detailviewdefs.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/metadata/studio.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/metadata/metafiles.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/metadata/searchdefs.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/metadata/quickcreatedefs.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/metadata/SearchFields.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/metadata/popupdefs.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/metadata/subpanels/default.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/Dashlets/WEBH_HOOKS_REQUESTDashlet/WEBH_HOOKS_REQUESTDashlet.meta.php
No syntax errors detected in ./SugarModules/modules/WEBH_HOOKS_REQUEST/Dashlets/WEBH_HOOKS_REQUESTDashlet/WEBH_HOOKS_REQUESTDashlet.php
PHP Fatal error:  Duplicate declaration of static variable $sfh in ./SugarModules/modules/AOW_WorkFlow/aow_utils.php on line 638
Errors parsing ./SugarModules/modules/AOW_WorkFlow/aow_utils.php

But I'm not certain, whether this issue caused the installation to fail.

Do you still need / maintain this module?

@SidorkinAlex
Copy link
Owner

Hi, I haven't tested this package with SuiteCRM version 8, I saw an error, I'll try to look at it the other day.

@BastianHammer
Copy link
Author

Thanks, sounds good.
Actually, it worked with PHP 8.2 on Suite 8.7.
But now, with PHP 8.3 on Suite 8.8 it seems to not like the environment anymore.

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

2 participants