10up / convert-to-blocks

Convert to Blocks is a WordPress plugin that transforms classic editor content to blocks on the fly.

Home Page:https://wordpress.org/plugins/convert-to-blocks/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conversion doesn't start when URL opened in browser

gyrus opened this issue · comments

Describe the bug

I've used this plugin via CLI before with success, but on a project I'm currently working on, the conversion doesn't start once the URL is opened in the browser.

Steps to Reproduce

I ran this in the terminal -

wp convert-to-blocks start --post_type=news

  • and got the following prompt -

Migration started... Please open the following URL in a browser to start the migration agent. /wp-admin/post.php?post=1127&action=edit&ctb_client=1127 Converting 564 Posts ...

  • but when I opened the URL in my browser, I just got the post edit screen and nothing further happened.

Not quite sure where to start debugging this?

Screenshots, screen recording, code snippet

No response

Environment information

Device: Macbook Air M2
OS: Sonoma 14.1.1
Browser: Chrome 119.0.6045.159

WordPress information

`

wp-core

version: 6.4.1
site_language: en_US
user_language: en_US
timezone: Europe/London
permalink: /blog/%year%/%monthnum%/%day%/%postname%/
https_status: true
multisite: true
user_registration: false
blog_public: 1
default_comment_status: open
environment_type: production
site_count: 2
network_count: 1
user_count: 49
dotorg_communication: true

wp-active-theme

name: DID - 2023 (bureau-did-2023)
version: 1.3
author: The Bureau
author_website: https://www.thebureaulondon.com
parent_theme: none
theme_features: widgets-block-editor, html5, post-thumbnails, title-tag, responsive-embeds, editor-styles, menus, editor-style
theme_path: /Users/steve/Sites/did-2023/public/wp-content/themes/bureau-did-2023
auto_update: Disabled

wp-themes-inactive (1)

Biro Base: version: 2.0, author: The Bureau, Auto-updates disabled

wp-plugins-active (18)

Admin Columns Pro: version: 6.3.5, author: AdminColumns.com, Auto-updates disabled
Advanced Custom Fields PRO: version: 6.2.2, author: WP Engine (latest version: 6.2.3), Auto-updates disabled
Convert to Blocks: version: 1.2.2, author: 10up, Auto-updates disabled
Disable Comments: version: 2.4.5, author: WPDeveloper, Auto-updates disabled
Disable Embeds: version: 1.5.0, author: Pascal Birchler, Auto-updates disabled
Disable Emojis (GDPR friendly): version: 1.7.6, author: Ryan Hellyer, Auto-updates disabled
Disable WP REST API: version: 2.6.1, author: Jeff Starr, Auto-updates disabled
Gravity Forms: version: 2.7.17, author: Gravity Forms, Auto-updates enabled
Members: version: 3.2.8, author: MemberPress, Auto-updates disabled
Redirection: version: 5.3.10, author: John Godley, Auto-updates disabled
SearchWP: version: 4.3.9, author: SearchWP, Auto-updates disabled
Simple History: version: 4.7.2, author: Pär Thernström, Auto-updates disabled
Simple Local Avatars: version: 2.7.5, author: 10up, Auto-updates disabled
Simple Page Ordering: version: 2.6.3, author: 10up, Auto-updates disabled
User Switching: version: 1.7.0, author: John Blackbourn & contributors (latest version: 1.7.2), Auto-updates disabled
WP-PageNavi: version: 2.94.1, author: Lester 'GaMerZ' Chan, Auto-updates disabled
WP Mail SMTP: version: 3.10.0, author: WP Mail SMTP, Auto-updates disabled
WPS Hide Login: version: 1.9.9, author: WPServeur, NicolasKulka, wpformation, Auto-updates disabled

wp-plugins-inactive (1)

GTM4WP: version: 1.18.1, author: Thomas Geiger, Auto-updates disabled

wp-media

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1809
imagemagick_version: ImageMagick 7.1.1-21 Q16-HDRI aarch64 21667 https://imagemagick.org
imagick_version: 3.7.0
file_uploads: 1
post_max_size: 8M
upload_max_filesize: 2M
max_effective_size: 2 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 64 GB
imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
imagick::RESOURCETYPE_FILE: 192
imagick::RESOURCETYPE_MAP: 32 GB
imagick::RESOURCETYPE_MEMORY: 16 GB
imagick::RESOURCETYPE_THREAD: 1
imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASHLAR, AVI, AVIF, AVS, BAYER, BAYERA, BGR, BGRA, BGRO, 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, FTXT, 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, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, JXL, K25, KDC, KERNEL, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MPO, 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, QOI, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, STRIMG, 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, WMV, WPG, X3F, XBM, XC, XCF, XPM, XPS, XV, YAML, YCbCr, YCbCrA, YUV
gd_version: 2.3.3
gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM
ghostscript_version: 10.02.1

wp-server

server_architecture: Darwin 23.1.0 arm64
httpd_software: Apache/2.4.58 (Unix) OpenSSL/3.1.4 PHP/8.2.12
php_version: 8.2.12 64bit
php_sapi: apache2handler
max_input_variables: 1000
time_limit: 30
memory_limit: 128M
admin_memory_limit: 256M
max_input_time: 60
upload_max_filesize: 2M
php_post_max_size: 8M
curl_version: 8.4.0 (SecureTransport) OpenSSL/3.1.4
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true
current: 2023-11-23T10:31:55+00:00
utc-time: Thursday, 23-Nov-23 10:31:55 UTC
server-time: 2023-11-23T10:31:54+00:00

wp-database

extension: mysqli
server_version: 5.7.44
client_version: mysqlnd 8.2.12
max_allowed_packet: 4194304
max_connections: 151

wp-constants

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /Users/steve/Sites/did-2023/public/wp-content
WP_PLUGIN_DIR: /Users/steve/Sites/did-2023/public/wp-content/plugins
WP_MEMORY_LIMIT: 64M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: true
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: Undefined
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined

wp-filesystem

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

wp_mail_smtp

version: 3.10.0
license_key_type: lite
debug: No debug notices found.
lite_install_date: Jun 17, 2022 @ 10:20am

`

Code of Conduct

  • I agree to follow this project's Code of Conduct

Scratch this, I forgot the post_type_supports_convert_to_blocks hook.