Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template parts can not be added in the template editing mode #37574

Closed
carolinan opened this issue Dec 22, 2021 · 19 comments
Closed

Template parts can not be added in the template editing mode #37574

carolinan opened this issue Dec 22, 2021 · 19 comments
Labels
[Block] Template Part Affects the Template Parts Block Needs Testing Needs further testing to be confirmed. [Type] Bug An existing feature does not function as intended [Type] Regression Related to a regression in the latest release

Comments

@carolinan
Copy link
Contributor

carolinan commented Dec 22, 2021

Description

Template part blocks and their aliases (header, footer) can not be added in the template editor.

Step-by-step reproduction instructions

  1. Activate a theme with support for template editing, for example Twenty Twenty-Two
  2. Open a template in the template editor by creating a new template or edit an existing template from the template section in the block editor
  3. Try adding a template part

Screenshots, screen recording, code snippet

No response

Environment info

This issue is present both in 5.9-beta3-52379-src and 5.9-beta4-52408-src with and without Gutenberg trunk.
Windows 10.
Multiple themes

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@carolinan carolinan added [Type] Bug An existing feature does not function as intended [Type] Regression Related to a regression in the latest release labels Dec 22, 2021
@carolinan carolinan added the [Block] Template Part Affects the Template Parts Block label Dec 22, 2021
@Mamaduka
Copy link
Member

@carolinan, I'm also not able to reproduce the issues. Running Gutenberg trunk on 5.8.2, but I also had the same results on beta 3.

Screencast

CleanShot.2021-12-22.at.10.30.53.mp4

@carolinan
Copy link
Contributor Author

I'm not using beta via 5.8+ beta tester plugin, but a git clone of https://github.com/WordPress/wordpress-develop

@carolinan
Copy link
Contributor Author

I am logged in as administrator.

@Mamaduka
Copy link
Member

I've just used wp core update --version=nightly to test the latest beta, and I get the same results. So testing this way shouldn't be different from testing via git since they should run the latest package updates.

Let's see if others can reproduce the issues.

@ntsekouras
Copy link
Contributor

I can't reproduce either running from latest WP/develop. The problem there though is that Template Parts are everywhere available as this PR hasn't been back ported, which I think it should(?)

@Mamaduka
Copy link
Member

I also thought that PR was backported.

@carolinan
Copy link
Contributor Author

carolinan commented Jan 3, 2022

I did new fresh clone of wordpress-develop, and I am still unable to place template parts in the template editing mode.
WordPress: 5.9-beta4-52408-src

Site Health Info ` ### wp-core ###

version: 5.9-beta4-52408-src
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%postname%/
https_status: false
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: local
user_count: 1
dotorg_communication: true

wp-paths-sizes

wordpress_path: /var/www/src
wordpress_size: 87.49 MB (91743241 bytes)
uploads_path: /var/www/src/wp-content/uploads
uploads_size: 0.00 B (0 bytes)
themes_path: /var/www/src/wp-content/themes
themes_size: 21.48 MB (22519607 bytes)
plugins_path: /var/www/src/wp-content/plugins
plugins_size: 571.34 MB (599095179 bytes)
database_size: 688.00 KB (704512 bytes)
total_size: 680.98 MB (714062539 bytes)

wp-active-theme

name: Twenty Twenty-Two (twentytwentytwo)
version: 1.0
author: the WordPress team
author_website: https://wordpress.org/
parent_theme: none
theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, block-templates, widgets-block-editor, wp-block-styles, editor-style
theme_path: /var/www/src/wp-content/themes/twentytwentytwo
auto_update: Disabled

wp-themes-inactive (11)

Twenty Eleven: version: 3.9, author: the WordPress team, Auto-updates disabled
Twenty Fifteen: version: 3.0, author: the WordPress team, Auto-updates disabled
Twenty Fourteen: version: 3.2, author: the WordPress team, Auto-updates disabled
Twenty Nineteen: version: 2.1, author: the WordPress team, Auto-updates disabled
Twenty Seventeen: version: 2.8, author: the WordPress team, Auto-updates disabled
Twenty Sixteen: version: 2.5, author: the WordPress team, Auto-updates disabled
Twenty Ten: version: 3.5, author: the WordPress team, Auto-updates disabled
Twenty Thirteen: version: 3.4, author: the WordPress team, Auto-updates disabled
Twenty Twelve: version: 3.5, author: the WordPress team, Auto-updates disabled
Twenty Twenty: version: 1.8, author: the WordPress team, Auto-updates disabled
Twenty Twenty-One: version: 1.4, author: the WordPress team, Auto-updates disabled

wp-plugins-inactive (2)

Gutenberg: version: 12.3.0-rc.1, author: Gutenberg Team, Auto-updates disabled
Hello Dolly: version: 1.7.2, author: Matt Mullenweg, Auto-updates disabled

wp-media

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1691
imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
imagick_version: 3.5.1
file_uploads: File uploads is turned off
post_max_size: 1G
upload_max_filesize: 1G
max_effective_size: 1 GB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 122 MB
imagick::RESOURCETYPE_DISK: 1073741824
imagick::RESOURCETYPE_FILE: 786432
imagick::RESOURCETYPE_MAP: 512 MB
imagick::RESOURCETYPE_MEMORY: 256 MB
imagick::RESOURCETYPE_THREAD: 1
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP
ghostscript_version: 9.53.3

wp-server

server_architecture: Linux 5.10.60.1-microsoft-standard-WSL2 x86_64
httpd_software: nginx/1.21.1
php_version: 7.4.22 64bit
php_sapi: fpm-fcgi
max_input_variables: 1000
time_limit: 30
memory_limit: 128M
admin_memory_limit: 256M
max_input_time: -1
upload_max_filesize: 1G
php_post_max_size: 1G
curl_version: 7.74.0 OpenSSL/1.1.1k
suhosin: false
imagick_availability: true
pretty_permalinks: true

wp-database

extension: mysqli
server_version: 5.7.35
client_version: mysqlnd 7.4.22
max_allowed_packet: 4194304
max_connections: 151

wp-constants

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /var/www/src/wp-content
WP_PLUGIN_DIR: /var/www/src/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: true
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: true
SCRIPT_DEBUG: true
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: local
DB_CHARSET: utf8
DB_COLLATE: undefined

wp-filesystem

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable

`

@carolinan carolinan added the Needs Testing Needs further testing to be confirmed. label Jan 3, 2022
@annezazu
Copy link
Contributor

annezazu commented Jan 4, 2022

I can't replicate with TT2 and 5.9-beta4-52432 without GB installed:

Screen Shot 2022-01-03 at 7 20 17 PM

Nor can I replicate with GB Version 12.2.0. I tried the following combinations:

  • Create new template > add current header.
  • Create new template > add new header
  • Edit current template > add current header.
  • Edit current template > add new header.

Didn't have any issues with any.

@carolinan
Copy link
Contributor Author

If possible, please provide information about your environment so that we can compare any differences.

@annezazu
Copy link
Contributor

annezazu commented Jan 4, 2022

Sure! Here you go. Note in this you'll see GB deactivated but I tried both active and deactive:

Site Health Info

`

wp-core

version: 5.9-beta4-52432
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%year%/%monthnum%/%day%/%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: production
user_count: 1
dotorg_communication: true

wp-paths-sizes

wordpress_path: /srv/users/userc6021d49/apps/userc6021d49/public
wordpress_size: 46.68 MB (48944676 bytes)
uploads_path: /srv/users/userc6021d49/apps/userc6021d49/public/wp-content/uploads
uploads_size: 0.00 B (0 bytes)
themes_path: /srv/users/userc6021d49/apps/userc6021d49/public/wp-content/themes
themes_size: 21.08 MB (22108453 bytes)
plugins_path: /srv/users/userc6021d49/apps/userc6021d49/public/wp-content/plugins
plugins_size: 42.60 MB (44672231 bytes)
database_size: 2.11 MB (2211840 bytes)
total_size: 112.47 MB (117937200 bytes)

wp-active-theme

name: Twenty Twenty-Two (twentytwentytwo)
version: 1.0
author: the WordPress team
author_website: https://wordpress.org/
parent_theme: none
theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, block-templates, widgets-block-editor, wp-block-styles, editor-style
theme_path: /srv/users/userc6021d49/apps/userc6021d49/public/wp-content/themes/twentytwentytwo
auto_update: Disabled

wp-themes-inactive (11)

Twenty Eleven: version: 3.9, author: the WordPress team, Auto-updates disabled
Twenty Fifteen: version: 3.0, author: the WordPress team, Auto-updates disabled
Twenty Fourteen: version: 3.2, author: the WordPress team, Auto-updates disabled
Twenty Nineteen: version: 2.1, author: the WordPress team, Auto-updates disabled
Twenty Seventeen: version: 2.8, author: the WordPress team, Auto-updates disabled
Twenty Sixteen: version: 2.5, author: the WordPress team, Auto-updates disabled
Twenty Ten: version: 3.5, author: the WordPress team, Auto-updates disabled
Twenty Thirteen: version: 3.4, author: the WordPress team, Auto-updates disabled
Twenty Twelve: version: 3.5, author: the WordPress team, Auto-updates disabled
Twenty Twenty: version: 1.8, author: the WordPress team, Auto-updates disabled
Twenty Twenty-One: version: 1.4, author: the WordPress team, Auto-updates disabled

wp-plugins-active (2)

Companion Plugin: version: 1.21, author: Osk, Auto-updates disabled
WordPress Beta Tester: version: 3.1.4, author: Peter Westwood, Andy Fragen, Auto-updates disabled

wp-plugins-inactive (4)

Akismet Anti-Spam: version: 4.2.1, author: Automattic, Auto-updates disabled
Gutenberg: version: 12.2.0, author: Gutenberg Team, Auto-updates disabled
Hello Dolly: version: 1.7.2, author: Matt Mullenweg, Auto-updates disabled
Jetpack: version: 10.4, author: Automattic, Auto-updates disabled

wp-media

image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
imagick_version: Not available
file_uploads: File uploads is turned off
post_max_size: 1024M
upload_max_filesize: 512M
max_effective_size: 512 MB
max_file_uploads: 20
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP
ghostscript_version: 9.26

wp-server

server_architecture: Linux 4.4.0-210-generic x86_64
httpd_software: Apache/2.4.52 (Unix) OpenSSL/1.0.2g
php_version: 7.4.27 64bit
php_sapi: fpm-fcgi
max_input_variables: 5000
time_limit: 30
memory_limit: 256M
max_input_time: -1
upload_max_filesize: 512M
php_post_max_size: 1024M
curl_version: 7.47.0 OpenSSL/1.0.2g
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: false

wp-database

extension: mysqli
server_version: 5.7.33-0ubuntu0.16.04.1-log
client_version: mysqlnd 7.4.27
max_allowed_packet: 268435456
max_connections: 500

wp-constants

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /srv/users/userc6021d49/apps/userc6021d49/public/wp-content
WP_PLUGIN_DIR: /srv/users/userc6021d49/apps/userc6021d49/public/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: true
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: true
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Undefined
DB_CHARSET: utf8
DB_COLLATE: undefined

wp-filesystem

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable

`

@piotrbak
Copy link

piotrbak commented Jan 4, 2022

I wasn't able to to reproduce it with 5.9-beta4-52424 + TT2

@kafleg
Copy link
Member

kafleg commented Jan 5, 2022

I am not able to reproduce it.

Environment

  • Windows
  • Laragon Localhost
  • PHP 7.4.19
  • TT2 theme
  • RC 1 - 5.9

No Gutenberg plugin was installed or activated.

Site Health Info

wp-core

version: 5.9-RC1-52446
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%year%/%monthnum%/%day%/%postname%/
https_status: false
multisite: false
user_registration: 0
blog_public: 0
default_comment_status: open
environment_type: production
user_count: 1
dotorg_communication: true

wp-paths-sizes

wordpress_path: C:\laragon\www\rc1
wordpress_size: 66.80 MB (70044912 bytes)
uploads_path: C:\laragon\www\rc1/wp-content/uploads
uploads_size: 0.00 B (0 bytes)
themes_path: C:\laragon\www\rc1/wp-content/themes
themes_size: 21.08 MB (22108453 bytes)
plugins_path: C:\laragon\www\rc1/wp-content/plugins
plugins_size: 11.61 MB (12179188 bytes)
database_size: 2.47 MB (2588672 bytes)
total_size: 101.97 MB (106921225 bytes)

wp-active-theme

name: Twenty Twenty-Two (twentytwentytwo)
version: 1.0
author: the WordPress team
author_website: https://wordpress.org/
parent_theme: none
theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, block-templates, widgets-block-editor, wp-block-styles, editor-style
theme_path: C:\laragon\www\rc1/wp-content/themes/twentytwentytwo
auto_update: Disabled

wp-themes-inactive (11)

Twenty Eleven: version: 3.9, author: the WordPress team, Auto-updates disabled
Twenty Fifteen: version: 3.0, author: the WordPress team, Auto-updates disabled
Twenty Fourteen: version: 3.2, author: the WordPress team, Auto-updates disabled
Twenty Nineteen: version: 2.1, author: the WordPress team, Auto-updates disabled
Twenty Seventeen: version: 2.8, author: the WordPress team, Auto-updates disabled
Twenty Sixteen: version: 2.5, author: the WordPress team, Auto-updates disabled
Twenty Ten: version: 3.5, author: the WordPress team, Auto-updates disabled
Twenty Thirteen: version: 3.4, author: the WordPress team, Auto-updates disabled
Twenty Twelve: version: 3.5, author: the WordPress team, Auto-updates disabled
Twenty Twenty: version: 1.8, author: the WordPress team, Auto-updates disabled
Twenty Twenty-One: version: 1.4, author: the WordPress team, Auto-updates disabled

wp-plugins-inactive (5)

Akismet Anti-Spam: version: 4.2.1, author: Automattic, Auto-updates disabled
Everest Backup: version: 1.0.4, author: everestthemes, Auto-updates disabled
Hello Dolly: version: 1.7.2, author: Matt Mullenweg, Auto-updates disabled
Rank Math SEO: version: 1.0.79, author: Rank Math, Auto-updates disabled
Rank Math SEO PRO: version: 3.0.3, author: Rank Math, Auto-updates disabled

wp-media

image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
imagick_version: Not available
file_uploads: File uploads is turned off
post_max_size: 2G
upload_max_filesize: 2G
max_effective_size: 2 GB
max_file_uploads: 20
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: not available

wp-server

server_architecture: Windows NT 10.0 AMD64
httpd_software: Apache/2.4.47 (Win64) OpenSSL/1.1.1k PHP/7.4.19
php_version: 7.4.19 64bit
php_sapi: apache2handler
max_input_variables: 1000
time_limit: 36000
memory_limit: 512M
max_input_time: 60
upload_max_filesize: 2G
php_post_max_size: 2G
curl_version: 7.70.0 OpenSSL/1.1.1k
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: false

wp-database

extension: mysqli
server_version: 5.7.33
client_version: mysqlnd 7.4.19
max_allowed_packet: 536870912
max_connections: 151

wp-constants

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: C:\laragon\www\rc1/wp-content
WP_PLUGIN_DIR: C:\laragon\www\rc1/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 512M
WP_DEBUG: true
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: true
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Undefined
DB_CHARSET: utf8mb4
DB_COLLATE: undefined

wp-filesystem

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable

@Mamaduka
Copy link
Member

Mamaduka commented Jan 5, 2022

Thank you for testing everyone 🦸

I'm going to remove this from WP 5.9 board and keep the issue open for now.

@carolinan
Copy link
Contributor Author

Could it be a localhost issue?
I am not sure how or why that would matter specifically for the inserter of the template part in the template editor,
and not cause problems elsewhere. - I'm just thinking that one of the difference between the 3 installations below is that the wp-develop install uses localhost:8889 as default.

These two setups are on the same PC:

A clone of WordPress develop trunk, with its default docker setup, Windows 10, 6.0-alpha-52448-src -Does not work
server_architecture: Linux 5.10.60.1-microsoft-standard-WSL2 x86_64
httpd_software: nginx/1.21.1
php_version: 7.4.22 64bit

Site health info ` ### wp-core ###

version: 6.0-alpha-52448-src
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%postname%/
https_status: false
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: local
user_count: 4
dotorg_communication: true

wp-paths-sizes

wordpress_path: /var/www/src
wordpress_size: loading...
uploads_path: /var/www/src/wp-content/uploads
uploads_size: loading...
themes_path: /var/www/src/wp-content/themes
themes_size: loading...
plugins_path: /var/www/src/wp-content/plugins
plugins_size: loading...
database_size: loading...
total_size: loading...

wp-active-theme

name: Twenty Twenty-Two (twentytwentytwo)
version: 1.0
author: the WordPress team
author_website: https://wordpress.org/
parent_theme: none
theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, block-templates, widgets-block-editor, wp-block-styles, editor-style
theme_path: /var/www/src/wp-content/themes/twentytwentytwo
auto_update: Disabled

wp-themes-inactive (15)

Emptytheme: version: 1.0, author: the WordPress team, Auto-updates disabled
FSE: version: 1.0.0, author: Anonymous, Auto-updates disabled
Full Site Editing: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
TT1 Blocks: version: 0.4.8, author: the WordPress team, Auto-updates disabled
Twenty Eleven: version: 3.9, author: the WordPress team, Auto-updates disabled
Twenty Fifteen: version: 3.0, author: the WordPress team, Auto-updates disabled
Twenty Fourteen: version: 3.2, author: the WordPress team, Auto-updates disabled
Twenty Nineteen: version: 2.1, author: the WordPress team, Auto-updates disabled
Twenty Seventeen: version: 2.8, author: the WordPress team, Auto-updates disabled
Twenty Sixteen: version: 2.5, author: the WordPress team, Auto-updates disabled
Twenty Ten: version: 3.5, author: the WordPress team, Auto-updates disabled
Twenty Thirteen: version: 3.4, author: the WordPress team, Auto-updates disabled
Twenty Twelve: version: 3.5, author: the WordPress team, Auto-updates disabled
Twenty Twenty: version: 1.8, author: the WordPress team, Auto-updates disabled
Twenty Twenty-One: version: 1.4, author: the WordPress team, Auto-updates disabled

wp-plugins-inactive (3)

Block Demo Content: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
Gutenberg: version: 12.3.0-rc.1, author: Gutenberg Team, Auto-updates disabled
WordPress Importer: version: 0.7, author: wordpressdotorg, Auto-updates disabled

wp-media

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1691
imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
imagick_version: 3.5.1
file_uploads: File uploads is turned off
post_max_size: 1G
upload_max_filesize: 1G
max_effective_size: 1 GB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 122 MB
imagick::RESOURCETYPE_DISK: 1073741824
imagick::RESOURCETYPE_FILE: 786432
imagick::RESOURCETYPE_MAP: 512 MB
imagick::RESOURCETYPE_MEMORY: 256 MB
imagick::RESOURCETYPE_THREAD: 1
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP
ghostscript_version: 9.53.3

wp-server

server_architecture: Linux 5.10.60.1-microsoft-standard-WSL2 x86_64
httpd_software: nginx/1.21.1
php_version: 7.4.22 64bit
php_sapi: fpm-fcgi
max_input_variables: 1000
time_limit: 30
memory_limit: 128M
admin_memory_limit: 256M
max_input_time: -1
upload_max_filesize: 1G
php_post_max_size: 1G
curl_version: 7.74.0 OpenSSL/1.1.1k
suhosin: false
imagick_availability: true
pretty_permalinks: true

wp-database

extension: mysqli
server_version: 5.7.35
client_version: mysqlnd 7.4.22
max_allowed_packet: 4194304
max_connections: 151

wp-constants

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /var/www/src/wp-content
WP_PLUGIN_DIR: /var/www/src/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: true
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: true
SCRIPT_DEBUG: true
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: local
DB_CHARSET: utf8
DB_COLLATE: undefined

wp-filesystem

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable

`

Local by flywheel on Windows 10, WP version 5.9-RC1-52446 (via 5.8.2 +the beta tester plugin) -Works
server_architecture: Windows NT 10.0 AMD64
httpd_software: nginx/1.16.0
php_version: 7.3.5 64bit

Site health info ` ### wp-core ###

version: 5.9-RC1-52446
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%postname%/
https_status: false
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: local
user_count: 1
dotorg_communication: true

wp-paths-sizes

wordpress_path: C:\Users\Carolina\Local Sites\test\app\public
wordpress_size: 46.77 MB (49042342 bytes)
uploads_path: C:\Users\Carolina\Local Sites\test\app\public/wp-content/uploads
uploads_size: 0.00 B (0 bytes)
themes_path: C:\Users\Carolina\Local Sites\test\app\public/wp-content/themes
themes_size: 21.08 MB (22108453 bytes)
plugins_path: C:\Users\Carolina\Local Sites\test\app\public/wp-content/plugins
plugins_size: 395.16 KB (404647 bytes)
database_size: 2.11 MB (2211840 bytes)
total_size: 70.35 MB (73767282 bytes)

wp-active-theme

name: Twenty Twenty-Two (twentytwentytwo)
version: 1.0
author: the WordPress team
author_website: https://wordpress.org/
parent_theme: none
theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, block-templates, widgets-block-editor, wp-block-styles, editor-style
theme_path: C:\Users\Carolina\Local Sites\test\app\public/wp-content/themes/twentytwentytwo
auto_update: Disabled

wp-themes-inactive (11)

Twenty Eleven: version: 3.9, author: the WordPress team, Auto-updates disabled
Twenty Fifteen: version: 3.0, author: the WordPress team, Auto-updates disabled
Twenty Fourteen: version: 3.2, author: the WordPress team, Auto-updates disabled
Twenty Nineteen: version: 2.1, author: the WordPress team, Auto-updates disabled
Twenty Seventeen: version: 2.8, author: the WordPress team, Auto-updates disabled
Twenty Sixteen: version: 2.5, author: the WordPress team, Auto-updates disabled
Twenty Ten: version: 3.5, author: the WordPress team, Auto-updates disabled
Twenty Thirteen: version: 3.4, author: the WordPress team, Auto-updates disabled
Twenty Twelve: version: 3.5, author: the WordPress team, Auto-updates disabled
Twenty Twenty: version: 1.8, author: the WordPress team, Auto-updates disabled
Twenty Twenty-One: version: 1.4, author: the WordPress team, Auto-updates disabled

wp-plugins-active (1)

WordPress Beta Tester: version: 3.1.4, author: Peter Westwood, Andy Fragen, Auto-updates disabled

wp-plugins-inactive (1)

Akismet Anti-Spam: version: 4.2.1, author: Automattic, Auto-updates disabled

wp-media

image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
imagick_version: Not available
file_uploads: File uploads is turned off
post_max_size: 1000M
upload_max_filesize: 300M
max_effective_size: 300 MB
max_file_uploads: 20
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: not available

wp-server

server_architecture: Windows NT 10.0 AMD64
httpd_software: nginx/1.16.0
php_version: 7.3.5 64bit
php_sapi: cgi-fcgi
max_input_variables: 4000
time_limit: 1200
memory_limit: 256M
max_input_time: 600
upload_max_filesize: 300M
php_post_max_size: 1000M
curl_version: 7.64.0 OpenSSL/1.1.1b
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: false

wp-database

extension: mysqli
server_version: 8.0.16
client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
max_allowed_packet: 16777216
max_connections: 151

wp-constants

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: C:\Users\Carolina\Local Sites\test\app\public/wp-content
WP_PLUGIN_DIR: C:\Users\Carolina\Local Sites\test\app\public/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: local
DB_CHARSET: utf8
DB_COLLATE: undefined

wp-filesystem

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
`

And this is on a separate remote test server with multisite:
WP version 5.9-RC1-52446 (via 5.8.2 +the beta tester plugin) -Works

server_architecture: Linux 3.10.0-962.3.2.lve1.5.38.el7.x86_64 x86_64
httpd_software: LiteSpeed
php_version: 7.3.33 64bit

Site health info ` ### wp-core ###

version: 5.9-RC1-52446
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%postname%/
https_status: true
multisite: true
user_registration: false
blog_public: 1
default_comment_status: undefined
environment_type: production
user_count: 4
site_count: 4
network_count: 1
dotorg_communication: true

wp-active-theme

name: Twenty Twenty-Two (twentytwentytwo)
version: 1.0
author: the WordPress team
author_website: https://wordpress.org/
parent_theme: none
theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, block-templates, widgets-block-editor, wp-block-styles, editor-style
theme_path: wp-content/themes/twentytwentytwo
auto_update: Disabled

wp-themes-inactive (12)

Armando: version: 1.2.3, author: Carolina Nymark, Auto-updates disabled
Twenty Eleven: version: 3.9, author: the WordPress team, Auto-updates disabled
Twenty Fifteen: version: 3.0, author: the WordPress team, Auto-updates disabled
Twenty Fourteen: version: 3.2, author: the WordPress team, Auto-updates disabled
Twenty Nineteen: version: 2.1, author: the WordPress team, Auto-updates disabled
Twenty Seventeen: version: 2.8, author: the WordPress team, Auto-updates disabled
Twenty Sixteen: version: 2.5, author: the WordPress team, Auto-updates disabled
Twenty Ten: version: 3.5, author: the WordPress team, Auto-updates disabled
Twenty Thirteen: version: 3.4, author: the WordPress team, Auto-updates disabled
Twenty Twelve: version: 3.5, author: the WordPress team, Auto-updates disabled
Twenty Twenty: version: 1.8, author: the WordPress team, Auto-updates disabled
Twenty Twenty-One: version: 1.4, author: the WordPress team, Auto-updates disabled

wp-plugins-active (5)

Cookie Notice & Compliance for GDPR / CCPA: version: 2.2.1, author: Hu-manity.co, Auto-updates disabled
Redirection: version: 5.1.3, author: John Godley, Auto-updates disabled
WordPress Beta Tester: version: 3.1.4, author: Peter Westwood, Andy Fragen, Auto-updates disabled
WordPress Importer: version: 0.7, author: wordpressdotorg, Auto-updates disabled
Yoast SEO: version: 17.8, author: Team Yoast, Auto-updates disabled

wp-plugins-inactive (5)

Akismet Anti-Spam: version: 4.2.1, author: Automattic, Auto-updates disabled
Gutenberg: version: 12.2.0, author: Gutenberg Team, Auto-updates disabled
WooCommerce: version: 6.0.0, author: Automattic, Auto-updates disabled
WooCommerce Blocks: version: 6.7.0, author: Automattic, Auto-updates disabled

wp-media

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1808
imagemagick_version: ImageMagick 7.1.0-2 Q16 x86_64 2021-06-25 https://imagemagick.org
imagick_version: 3.5.1
file_uploads: File uploads is turned off
post_max_size: 50M
upload_max_filesize: 50M
max_effective_size: 50 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 126 GB
imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
imagick::RESOURCETYPE_FILE: 37500
imagick::RESOURCETYPE_MAP: 126 GB
imagick::RESOURCETYPE_MEMORY: 63 GB
imagick::RESOURCETYPE_THREAD: 1
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASHLAR, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FARBFELD, FAX, FF, FILE, FITS, FL32, FLV, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR, HEIC, HEIF, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, KERNEL, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RSVG, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YAML, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 9.25

wp-server

server_architecture: Linux 3.10.0-962.3.2.lve1.5.38.el7.x86_64 x86_64
httpd_software: LiteSpeed
php_version: 7.3.33 64bit
php_sapi: litespeed
max_input_variables: 3000
time_limit: 90
memory_limit: 256M
max_input_time: 90
upload_max_filesize: 50M
php_post_max_size: 50M
curl_version: 7.71.0 OpenSSL/1.1.1d
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true

wp-database

extension: mysqli
server_version: 10.3.32-MariaDB-cll-lve
client_version: mysqlnd 5.0.12-dev
max_allowed_packet: 268435456
max_connections: 800

wp-constants

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: wp-content
WP_PLUGIN_DIR: wp-content/plugins
WP_MEMORY_LIMIT: 64M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: true
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Undefined
DB_CHARSET: utf8mb4
DB_COLLATE: undefined

wp-filesystem

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
`

@Mamaduka
Copy link
Member

Hi, @carolinan

Are you still experiencing this issue?

@carolinan
Copy link
Contributor Author

carolinan commented Jan 19, 2022

I had to stop using docker and wp-env/wordpress-develop because of this issue and have not retested since.

@carolinan
Copy link
Contributor Author

In other words, I mean, I will retest it as soon as I can. I will not prioritize it since no one else can reproduce.

@Mamaduka
Copy link
Member

Thank you, @carolinan.

Let's keep this issue open for now.

@carolinan
Copy link
Contributor Author

Retested with WordPress 5.9-RC3-52601. Whatever the problem was, the issue seems solved.

While site health is still showing rest api errors on the localhost, the template parts are working again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Template Part Affects the Template Parts Block Needs Testing Needs further testing to be confirmed. [Type] Bug An existing feature does not function as intended [Type] Regression Related to a regression in the latest release
Projects
None yet
Development

No branches or pull requests

6 participants