Coder Social home page Coder Social logo

Fatal Error: DatabaseException - SELECT SQL_CACHE- The query cache is deprecated as of MySQL 5.7.20, and is removed in MySQL 8.0. about symphonycms HOT 6 OPEN

wdebusschere avatar wdebusschere commented on June 20, 2024
Fatal Error: DatabaseException - SELECT SQL_CACHE- The query cache is deprecated as of MySQL 5.7.20, and is removed in MySQL 8.0.

from symphonycms.

Comments (6)

nitriques avatar nitriques commented on June 20, 2024

Yeah I already left a comment in the code regarding that ;)
Can you var_dump(Symphony::Database()->getVersion()); please ?

from symphonycms.

wdebusschere avatar wdebusschere commented on June 20, 2024

Symphony::Database()->getVersion() = Symphony Fatal Error: Call to undefined method MySQL::getVersion()

MySQL version | 8.0.19

from symphonycms.

nitriques avatar nitriques commented on June 20, 2024

@wdebusschere Did run ran composer install and uploaded all file ? Because the Symphony::Database() instance does not return a MySQL class anymore.

from symphonycms.

wdebusschere avatar wdebusschere commented on June 20, 2024

@nitriques

Can't test anymore, getting now Symphony Notice: Undefined index errors.

Symphony Notice: Undefined index: data_sources
An error occurred in /Users/xxx/Sites/symphonycms3/symphony/content/content.blueprintspages.php around line 696

691                 $types = preg_split('/\s*,\s*/', $fields['type'], -1, PREG_SPLIT_NO_EMPTY);
692                 $types = array_map('trim', $types);
693                 unset($fields['type']);
694 
695                 $fields['parent'] = ($fields['parent'] != __('None') ? $fields['parent'] : null);
696                 $fields['data_sources'] = is_array($fields['data_sources']) ? implode(',', $fields['data_sources']) : null;
697                 $fields['events'] = is_array($fields['events']) ? implode(',', $fields['events']) : null;
698                 $fields['path'] = null;
699 
700                 if ($fields['parent']) {

from symphonycms.

nitriques avatar nitriques commented on June 20, 2024

@wdebusschere 763305c should take care of this

from symphonycms.

nitriques avatar nitriques commented on June 20, 2024

@wdebusschere Also check the other 2 commits ^^^ which should take care of mysql 8 if mysql's doc is right.

from symphonycms.

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.