Giter Club home page Giter Club logo

Comments (5)

ShawnMcCool avatar ShawnMcCool commented on July 29, 2024

I wonder if anyone else has this issue.

from laravel-form-base-model.

JoshZA avatar JoshZA commented on July 29, 2024

Just upgraded bundle, and my dev environment has changed. XAMPP Windows (1.8.0-beta8):
Apache (2.4.2)
MySQL (5.5.25)
PHP (5.4.4)

Works when I don't set Favorite Foods, fails otherwise

from laravel-form-base-model.

ShawnMcCool avatar ShawnMcCool commented on July 29, 2024

I'll need to test with the newest xampp beta. I probably can't do it today. But, soon.

from laravel-form-base-model.

ShawnMcCool avatar ShawnMcCool commented on July 29, 2024

I'm having no issues in any testing situation. For now I'm going to close this issue.

from laravel-form-base-model.

plogik avatar plogik commented on July 29, 2024

Got this error too after upgrade to php 5.4, seems php versions over 5.3 are more restrictive with type hinting. Or maybe this is due to more restrictive settings in MAMP 2.2 (was using MAMP 2.0).

Problem is that "has" in laravel/input:23 assumes that the value is a key. My value was an array. Quick fix:

public static function has($key)
{
    $val = static::get($key);
    return $val && ((is_string($val) && strlen(trim($val))) || is_array($val));
    //return trim((string) static::get($key)) !== '';
}

from laravel-form-base-model.

Related Issues (12)

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.