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

Error while adding portfolio on php 7.0.9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.7, 3.1.3
    • 3.1.2, 3.2
    • Portfolio
    • # php 7.0.9 and probably below.
      # ubuntu
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • wip-MDL-56615-master
    • Hide

      On php 7.0.9

      1. Enable portfolio
      2. go to manage portfolio
      3. enable goodle drive portfolio and make sure you can fill client id and secret without warnings

      On php 5.6

      1. Enable portfolio
      2. go to manage portfolio
      3. enable goodle drive portfolio and make sure you can fill client id and secret without warnings
      Show
      On php 7.0.9 Enable portfolio go to manage portfolio enable goodle drive portfolio and make sure you can fill client id and secret without warnings On php 5.6 Enable portfolio go to manage portfolio enable goodle drive portfolio and make sure you can fill client id and secret without warnings

      Today while setting up portfolio on QA site, I encountered following error, and was not able to add Google drive portfolio.

      Warning: Parameter 1 to portfolio_plugin_googledocs::admin_config_form() expected to be a reference, value given in /var/www/vhosts/qamaster.moodle.net/html/lib/portfolio/forms.php on line 205
      

      Upgrading humanities to php 7.0.12 solved the issue.

      Steps to reproduce:

      1. Enable portfolio
      2. Go to Manage portfolio
      3. Enable Google drive portfolio and you will observe above error.
      4. There won't be a field for Client id and Secret

            marina Marina Glancy
            rajeshtaneja Rajesh Taneja
            John Okely John Okely
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.