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

Max Players variable and WHMCS quantity slider problem #98

Open
mouse1121 opened this issue Sep 6, 2021 · 2 comments
Open

Max Players variable and WHMCS quantity slider problem #98

mouse1121 opened this issue Sep 6, 2021 · 2 comments

Comments

@mouse1121
Copy link

mouse1121 commented Sep 6, 2021

My max_players variable has rule: required|integer|max:32, and in Configurable Options i use quantity (slider), when i try downgrade player slots with existing service lower or higher i received error:

Array
(
    [errors] => Array
        (
            [0] => Array
                (
                    [code] => DataValidationException
                    [status] => 500
                    [detail] => Data integrity exception encountered while performing database write operation. {"variable_value":["The variable value must be a string."]}
                )

        )

    [status_code] => 500
)

If change rule to string, it says error:

Array
(
    [errors] => Array
        (
            [0] => Array
                (
                    [code] => ValidationException
                    [status] => 422
                    [detail] => The Max Players variable must be a string.
                    [meta] => Array
                        (
                            [source_field] => environment.MAX_PLAYERS
                            [rule] => string
                        )

                )

        )

    [status_code] => 422
)

If i change Configurable Options from quantity to dropdown menu, all good. Is it problem with WHMCS module?

@mouse1121
Copy link
Author

Any response?

@threezix

This comment was marked as spam.

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