Giter VIP home page Giter VIP logo

cotd2's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cotd2's Issues

parse_str() expects exactly 2 arguments, 1 given in /opt/app-root/src/item.php

I just enrolled in the RedHat open shift 4 foundations course and when reaching the Application Deployment Lab I encountered an Issue with this Project.

I get the following error:
Fatal error: Uncaught ArgumentCountError: parse_str() expects exactly 2 arguments, 1 given in /opt/app-root/src/item.php:44 Stack trace: #0 /opt/app-root/src/item.php(44): parse_str('') #1 {main} thrown in /opt/app-root/src/item.php on line 44

Looking at the code in this Repo i found that there is acutally just one parameter present in the parse_str function. Though the PHP Documentation says the following: Using this function without the result parameter is highly DISCOURAGED and DEPRECATED as of PHP 7.2. As of PHP 8.0.0, the result parameter is mandatory.

I just want to mention that i never ever wrote a single line of php code. So please be gentle with me if i've made a mistake myself.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.