Code Monkey home page Code Monkey logo

Comments (5)

mazzorini avatar mazzorini commented on June 14, 2024 1

@azazel-xes how did u solve this error?
Undefined array key "App\Modules\Matches\MatchScore"

from contentify.

Matlord93 avatar Matlord93 commented on June 14, 2024 1

Unfortunately this won't do anything as this CRM doesn't really work with this module for php 8.

I got this CRM now completely on Laravel 9 and there everything on php 8 to run.

The complete model must be adapted for this, because this no longer runs properly under php 8.

from contentify.

mazzorini avatar mazzorini commented on June 14, 2024

same here :/

from contentify.

azazel-xes avatar azazel-xes commented on June 14, 2024

same here :/

Hey Mazzo

You just need to rename the PHP Reserved word "Match" for whatever you want, just follow the steps I describe above and you'll be fine.

from contentify.

azazel-xes avatar azazel-xes commented on June 14, 2024

@azazel-xes how did u solve this error? Undefined array key "App\Modules\Matches\MatchScore"

I belive that's because in line 28 the variable 'match' is related to 'App\Modules\Matches\Match' file, so you have to modify this path to the corresponding file name (remember that you need to modify the name of the file Match to avoid the reserved word "Match" in php 8.0)

Just rename your file App/Modules/Matches/Match to something else and replace all calls to App/Modules/Matches/Match with the new name you created for that file , in my case it was renamed to App/Modules/Matches/Match1 so line 28 in file App/Modules/Matches/MatchScore for me is:

27 public static $relationsData = [
28 'match' => [self::BELONGS_TO, 'App\Modules\Matches\Match1'],
29 'map' => [self::BELONGS_TO, 'App\Modules\Maps\Map'],
30 ];

I hope this can help you, I've never really used this CMS at the end

from contentify.

Related Issues (20)

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.