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

Block crashes without apple maps credentials #232

Open
1 task done
peterwilsoncc opened this issue Dec 1, 2024 · 0 comments
Open
1 task done

Block crashes without apple maps credentials #232

peterwilsoncc opened this issue Dec 1, 2024 · 0 comments
Labels
help wanted Extra attention is needed type:bug Something isn't working.
Milestone

Comments

@peterwilsoncc
Copy link
Contributor

Describe the bug

According to the screen shots in the plugin repo, if no credentials are provided via the settings page, the Apple Maps block should show a prompt to enter the details

At present the block simply crashes and no prompt is shown.

Steps to Reproduce

  1. Create a fresh WordPress install
  2. Enable this plugin
  3. Create a post
  4. Add the Apple Maps block
  5. An alert will be shown there is no key, the block will not show the prompt

Screenshots, screen recording, code snippet

Image

Environment information

  • Device Macbook Pro
  • Browser Firefox 133.0
  • macOS 14.7.1

WordPress information

WordPress Environment
### wp-core ###

version: 6.6.3-alpha-59298
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: undefined
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: /vagrant/wp-build
wordpress_size: 635.49 MB (666363504 bytes)
uploads_path: /vagrant/content/uploads
uploads_size: 39.87 MB (41801816 bytes)
themes_path: /vagrant/content/themes
themes_size: directory not found
plugins_path: /vagrant/content/plugins
plugins_size: 2.21 GB (2376068312 bytes)
fonts_path: /vagrant/content/uploads/fonts
fonts_size: directory not found
database_size: 1.00 MB (1048576 bytes)
total_size: 2.87 GB (3085282208 bytes)

### wp-dropins (1) ###

db.php: true

### wp-active-theme ###

name: Twenty Twenty-Four (twentytwentyfour)
version: 1.2 (latest version: 1.3)
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, widgets-block-editor, block-templates
theme_path: /vagrant/wp-build/wp-content/themes/twentytwentyfour

### wp-themes-inactive (13) ###

Twenty Eleven: version: 4.7, author: the WordPress team (latest version: 4.8)
Twenty Fifteen: version: 3.8, author: the WordPress team (latest version: 3.9)
Twenty Fourteen: version: 4.0, author: the WordPress team (latest version: 4.1)
Twenty Nineteen: version: 2.9, author: the WordPress team (latest version: 3.0)
Twenty Seventeen: version: 3.7, author: the WordPress team (latest version: 3.8)
Twenty Sixteen: version: 3.3, author: the WordPress team (latest version: 3.4)
Twenty Ten: version: 4.2, author: the WordPress team (latest version: 4.3)
Twenty Thirteen: version: 4.2, author: the WordPress team (latest version: 4.3)
Twenty Twelve: version: 4.3, author: the WordPress team (latest version: 4.4)
Twenty Twenty: version: 2.7, author: the WordPress team (latest version: 2.8)
Twenty Twenty-One: version: 2.3, author: the WordPress team (latest version: 2.4)
Twenty Twenty-Three: version: 1.5, author: the WordPress team (latest version: 1.6)
Twenty Twenty-Two: version: 1.8, author: the WordPress team (latest version: 1.9)

### wp-plugins-active (1) ###

Block for Apple Maps: version: 1.1.4, author: 10up

### wp-plugins-inactive (11) ###

Ads.txt Manager: version: 1.4.4, author: 10up (latest version: 1.4.5)
Block Catalog: version: 1.6.1, author: 10up
Classic Editor: version: 1.6.6, author: WordPress Contributors
Insecure Content Warning: version: 1.2.1, author: 10up
Query Monitor: version: 3.17.0, author: John Blackbourn
Retro Winamp Block: version: 1.3.2, author: 10up
Safe Redirect Manager: version: 2.2.0, author: 10up (latest version: 2.2.1)
Safe SVG: version: 2.2.6, author: 10up (latest version: 2.3.0)
Simple Local Avatars: version: 2.7.11, author: 10up (latest version: 2.8.3)
Simple Page Ordering: version: 2.7.2, author: 10up
User Switching: version: 1.9.0, author: John Blackbourn

### wp-media ###

image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
imagick_version: Not available
file_uploads: 1
post_max_size: 1024M
upload_max_filesize: 1024M
max_effective_size: 1 GB
max_file_uploads: 20
gd_version: 2.3.3
gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM
ghostscript_version: not available

### wp-server ###

server_architecture: Linux 5.15.0-92-generic aarch64
httpd_software: nginx/1.18.0
php_version: 8.2.26 64bit
php_sapi: fpm-fcgi
max_input_variables: 1000
time_limit: 900
memory_limit: 128M
admin_memory_limit: 256M
max_input_time: 900
upload_max_filesize: 1024M
php_post_max_size: 1024M
curl_version: 7.81.0 OpenSSL/3.0.2
suhosin: false
imagick_availability: false
pretty_permalinks: true
current: 2024-12-01T23:43:22+00:00
utc-time: Sunday, 01-Dec-24 23:43:22 UTC
server-time: 2024-12-01T23:43:20+00:00

### wp-database ###

extension: mysqli
server_version: 8.0.36-0ubuntu0.22.04.1
client_version: mysqlnd 8.2.26
max_allowed_packet: 16777216
max_connections: 151

### wp-constants ###

WP_HOME: http://xu-osp-plugins.local
WP_SITEURL: http://xu-osp-plugins.local/wp
WP_CONTENT_DIR: /vagrant/content
WP_PLUGIN_DIR: /vagrant/content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: true
WP_DEBUG_DISPLAY: false
WP_DEBUG_LOG: true
SCRIPT_DEBUG: true
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: local
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined

### wp-filesystem ###

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
fonts: not writable
mu-plugins: writable

Code of Conduct

  • I agree to follow this project's Code of Conduct
@peterwilsoncc peterwilsoncc added the type:bug Something isn't working. label Dec 1, 2024
@jeffpaul jeffpaul added this to the 1.2.0 milestone Dec 2, 2024
@jeffpaul jeffpaul moved this from Incoming to To Do in Open Source Practice Dec 2, 2024
@jeffpaul jeffpaul added the help wanted Extra attention is needed label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed type:bug Something isn't working.
Projects
Status: To Do
Development

No branches or pull requests

2 participants