Giter Site home page Giter Site logo

Comments (8)

jp-imagines avatar jp-imagines commented on August 14, 2024 2

🎉 Glad to see things are working again! I'm following up with the initial user report, and closing this issue.

from themes.

dsas avatar dsas commented on August 14, 2024 1

I get some output on my screen when viewing the site or using the site editor:

Looks like that might just be unrelated noise. If I manually apply WordPress/gutenberg@2ff5f64 then the warning goes away but the sadness continues.

from themes.

jp-imagines avatar jp-imagines commented on August 14, 2024

Escalated here: p1714485036204049-slack-C029FM1EH

Edited to add: initial user report in 8088274-zd-a8c.

from themes.

dsas avatar dsas commented on August 14, 2024

I get some output on my screen when viewing the site or using the site editor:

Warning: Trying to access array offset on value of type null in /home/wpcom/public_html/wp-content/plugins/gutenberg-core/v18.1.2/lib/compat/wordpress-6.6/resolve-patterns.php on line 26
[deanpremiumtest.wordpress.com/]
[/plugins/gutenberg-core/v18.1.2/lib/compat/wordpress-6.6/resolve-patterns.php:60 gutenberg_replace_pattern_blocks(), wp-includes/class-wp-hook.php:326 gutenberg_replace_pattern_blocks_get_block_templates(), wp-includes/plugin.php:205 apply_filters(Array), wp-includes/block-template-utils.php:1099 apply_filters('get_block_templates'), wp-includes/block-template.php:140 get_block_templates(), wp-includes/block-template.php:66 resolve_block_template(), wp-includes/template.php:66 locate_block_template(), wp-includes/template.php:398 get_query_template(), wp-includes/template-loader.php:81 get_home_template(), wp-blog-header.php:19 require_once('wp-includes/template-loader.php'), index.php:49 require('wp-blog-header.php')]

I wonder if this is related to the 18.1.2 GB update

from themes.

github-actions avatar github-actions commented on August 14, 2024

Support References

This comment is automatically generated. Please do not edit it.

  • 8088274-zen

from themes.

mrfoxtalbot avatar mrfoxtalbot commented on August 14, 2024

Could this be related to Automattic/wp-calypso#85530 or Automattic/wp-calypso#76105 ?

from themes.

dsas avatar dsas commented on August 14, 2024

@mrfoxtalbot perhaps, though they're showing issues in the site-editor rather than the front-end

from themes.

dsas avatar dsas commented on August 14, 2024

Patterns are stored in the pattern cache so that it's not necessary to read from the filesystem on every request to see what patterns exist. This cache is set for feelingood on wpcom, but the list of patterns are empty

> wp cache get wp_theme_patterns_pub/feelingood theme_files
array (
  'version' => '1.0.2',
  'patterns' => 
  array (
  ),
)

I've deleted the cache manually with wp cache delete wp_theme_patterns_pub/feelingood theme_files and now the problem is resolved.

I don't know how the cache got the wrong data in the first place but I imagine that it's not a fault of feelingood 🤔 and its patterns directory hasn't changed on wpcom since it was first deployed.

from themes.

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.