Code Monkey home page Code Monkey logo

Comments (7)

emohamed avatar emohamed commented on July 17, 2024 2

We're working on a fix for this, we should have a new release tomorrow. For time being we'll add lodash as a dependency.

from carbon-fields.

jorostoyanov avatar jorostoyanov commented on July 17, 2024 2

Hey Guys!

I have just released v3.6.1 of Carbon Fields which adds support for WordPress v6.4.

Please, update to the latest version on your instances and if any issue re-appears feel free to open a new issue :)

from carbon-fields.

gardiner avatar gardiner commented on July 17, 2024 1

Hi guys, thanks for your quick reaction and all your efforts!

👍

from carbon-fields.

greabs avatar greabs commented on July 17, 2024

Same here. Seems to be an issue with upgrading to the latest WP version 6.4 ..

from carbon-fields.

greabs avatar greabs commented on July 17, 2024

Followup; the issue is caused by WP 6.4 scratching the Lodash lib. WordPress/gutenberg#52571
Can an update be expected for Carbon Fields to fix the dependency on Lodash?

from carbon-fields.

iamalessiopaoletti avatar iamalessiopaoletti commented on July 17, 2024

I solved it like this in function.php:

`
function load_lodash() {
// Il codice CDN del file lodash.js
$lodash_url = 'https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js';

// Carica il codice CDN
wp_enqueue_script('lodash', $lodash_url, array(), null, false);
}
add_action('admin_enqueue_scripts', 'load_lodash');
`

It is worrying that there is no assistance though.

from carbon-fields.

greabs avatar greabs commented on July 17, 2024

Yeah but that's not really a solution. Lodash has been dropped by the wp-core guys because it not needed anymore and increases the load. Either it should be included in a new release of Carbon Fields (also not great) or Carbon Fields simply isn't compatible anymore with WP v6.4+ ..

from carbon-fields.

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.