Skip to content

Uncaught Error: [] operator not supported for strings in ... Ga_time_table\classes\fitnessFixedConstraint.php:124 #1

Open

Description

@azukhrufy

when i trying to generate the schedule, this error appear :

Fatal error: Uncaught Error: [] operator not supported for strings in C:...\Ga_time_table\classes\fitnessFixedConstraint.php:124 Stack trace: #0 C:...\Ga_time_table\tTable_gen.php(196): classes\fitnessFixedConstraint->clashingClasses('#group') #1 C:...\Ga_time_table\tTable_gen.php(155): index->calculateFitness(Array, Array, 21) #2 C:...\Ga_time_table\tTable_gen.php(233): index->initialise_schedule() #3 {main} thrown in C:...\Ga_time_table\classes\fitnessFixedConstraint.php on line 124

Could somebody please give me a hint what I'm doing wrong?

thank you

Activity

  1. Nipun258 commented on Feb 24, 2020

    @Nipun258

    i also get the same ??

  2. erfanhemmati commented on Feb 10, 2023

    @erfanhemmati

    @azukhrufy @Nipun258
    This bug is fixed by changing $stdGroup = ''; variable value into $stdGroup = []; in fitnessFixedConstraint.php file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions