Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-60965

Behat A non-numeric value encountered during parallel init

    XMLWordPrintable

Details

    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MDL-60965-master
    • Hide
      1. Switch to PHP7.1
      2. Run:

        php admin/tool/behat/cli/util.php -j=3 --install
        

        1. Confirm there are no warnings in the top of the output

      Example of warnings:

      2019 sm:MDL-60695-master> php admin/tool/behat/cli/util.php -j=3 --install
      Installing behat site for 3 parallel behat run
      PHP Warning:  A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401
       
      Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401
      PHP Warning:  A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401
       
      Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401
      PHP Warning:  A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401
       
      Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401
      [behatrun1]                [behatrun2]                [behatrun3]
      |-->System                 |-->System                 |
      

      Show
      Switch to PHP7.1 Run: php admin/tool/behat/cli/util.php -j=3 --install Confirm there are no warnings in the top of the output Example of warnings: 2019 sm:MDL-60695-master> php admin/tool/behat/cli/util.php -j=3 --install Installing behat site for 3 parallel behat run PHP Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401   Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401 PHP Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401   Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401 PHP Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401   Warning: A non-numeric value encountered in /Users/nicols/Sites/moodles/sm/moodle/admin/tool/behat/cli/util.php on line 401 [behatrun1] [behatrun2] [behatrun3] |-->System |-->System |

    Description

      With PHP7.1 onwards:

      Warning: A non-numeric value encountered in /var/www/html/admin/tool/behat/cli/util.php on line 401
       
      Warning: A non-numeric value encountered in /var/www/html/admin/tool/behat/cli/util.php on line 401
       
      Warning: A non-numeric value encountered in /var/www/html/admin/tool/behat/cli/util.php on line 401
      

      Attachments

        Activity

          People

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Jun Pataleta Jun Pataleta
            Damyon Wiese Damyon Wiese
            Marina Glancy Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              15/Jan/18