GoogleForCreators / web-stories-wp

Web Stories for WordPress
https://wp.stories.google
Apache License 2.0
768 stars 178 forks source link

SG Optimizer compatibility: Fix Insecure Content option conflicts with Dashboard Templates #4477

Closed ShihTzuRescuer closed 4 years ago

ShihTzuRescuer commented 4 years ago

Bug Description

When we pick any of the templates, we are getting the error "unable to create story from template the response is not a valid json response", or the page fails to load and we get a blank screen.

Expected Behaviour

Template loads upon selection for editing as needed.

Steps to Reproduce

There appears to be conflict with SiteGround Optimizer plugin, specifically the "Fix Insecure Content Enable this option in case you’re getting insecure content errors on your website. We will dynamically rewrite insecure requests for resources coming from your site"

We have turned off this option and the templates work as expected now.

Screenshots

Additional Context

Upon troubleshooting, SiteGround suspects that "Web Stories plugin is making a request to a non-secure URL, which our SG Optimizer tries to redirect to its secure version. However, the secure version of the URL is most likely returning an error, which is why the request can't be properly serviced."


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance Criteria

Implementation Brief

ernee commented 4 years ago

@ShihTzuRescuer thanks for reporting! I'm not able to replicate the issue using the SG Optimizer plugin, but I'm curious if there is something with your site's configuration that is involved.

1) In your site settings (under Settings > General from the Dashboard), could you share the WordPress Address and Site Address present when the issue occurs?

2) Also, could you confirm when viewing the Web Stories dashboard if the site is showing as serving over the https://protocol?

ShihTzuRescuer commented 4 years ago

Hi @ernee!

  1. They are identical and read https://www.mydomain.com

  2. Yes. See attached screenshot. Google Web Story Capture

Thank you for your help!

ernee commented 4 years ago

@ShihTzuRescuer thanks for the reply!

1) Could you share your Site Health information ?

2) Under the same Site Health section, but under the "Status" tab, could you let us know if the REST API is available:

Site Health status: REST API is available
ShihTzuRescuer commented 4 years ago

@ernee please see below for the requested information.

  1. `

    wp-core

version: 5.5.1 site_language: en_US user_language: en_US permalink: /%postname%/ https_status: true user_registration: 0 default_comment_status: closed multisite: false user_count: 13 dotorg_communication: true

wp-paths-sizes

wordpress_path: /home/customer/www/XYZ.com/public_html wordpress_size: 2.70 GB (2895952298 bytes) uploads_path: /home/customer/www/XYZ.com/public_html/wp-content/uploads uploads_size: 810.01 MB (849357064 bytes) themes_path: /home/customer/www/XYZ.com/public_html/wp-content/themes themes_size: 4.73 MB (4956845 bytes) plugins_path: /home/customer/www/XYZ.com/public_html/wp-content/plugins plugins_size: 233.70 MB (245054571 bytes) database_size: 84.16 MB (88244224 bytes) total_size: 3.80 GB (4083565002 bytes)

wp-dropins (1)

object-cache.php: true

wp-active-theme

name: Scribbles (scribbles) version: 1.1.2 author: GoDaddy author_website: https://www.godaddy.com/ parent_theme: Primer (primer) theme_features: core-block-patterns, wp-block-styles, responsive-embeds, align-wide, editor-color-palette, post-thumbnails, editor-styles, editor-style, infinite-scroll, custom-header, custom-background, custom-logo, automatic-feed-links, title-tag, customize-selective-refresh-widgets, menus, html5, post-formats, widgets theme_path: /home/customer/www/XYZ.com/public_html/wp-content/themes/scribbles

wp-parent-theme

name: Primer (primer) version: 1.8.9 author: GoDaddy author_website: https://www.godaddy.com/ theme_path: /home/customer/www/XYZ.com/public_html/wp-content/themes/primer

wp-themes-inactive (1)

Twenty Twenty: version: 1.5, author: the WordPress team

wp-mu-plugins (1)

Health Check Troubleshooting Mode: author: (undefined), version: 1.7.2

wp-plugins-active (51)

Admin Menu Editor: version: 1.9.7, author: Janis Elsts Advanced Gutenberg Blocks: version: 1.9.8, author: maximebj Akismet Anti-Spam: version: 4.1.6, author: Automattic Artifact Form Saver: version: 1.0, author: Isaac & Chevas Balloun - Artifact LLC Auto Hide Admin Bar: version: 1.4.1, author: Marcel Bootsman Code Snippets: version: 2.14.0, author: Code Snippets Pro Complianz | GDPR/CCPA Cookie Consent: version: 4.7.1, author: Really Simple Plugins Donation Thermometer: version: 2.0.9, author: Henry Patton Easy Accordion: version: 2.0.10, author: ShapedPlugin Enable Media Replace: version: 3.4.2, author: ShortPixel Favicon by RealFaviconGenerator: version: 1.3.18, author: Philippe Bernard Feed Them Social - for Twitter feed, Youtube, Pinterest and more: version: 2.8.7, author: SlickRemix Give - Donation Plugin: version: 2.8.0, author: GiveWP Google Analytics for WordPress by MonsterInsights: version: 7.12.2, author: MonsterInsights Gutenberg Blocks and Template Library by Otter: version: 1.5.8, author: ThemeIsle Health Check & Troubleshooting: version: 1.4.5, author: The WordPress.org community If Widget - Visibility control for Widgets: version: 0.5, author: Layered iQ Block Country: version: 1.2.10, author: Pascal Jetpack by WordPress.com: version: 8.9, author: Automattic LoginPress - Customizing the WordPress Login: version: 1.4.6, author: WPBrigade myStickymenu: version: 2.4.4, author: Premio PDFjs Viewer: version: 1.5.4, author: Ben Lawson, Thomas McMahon Petfinder Listings: version: 1.0.18, author: Bridget Wessel Phoenix Media Rename: version: 2.2.5, author: crossi72 Photo Gallery by Supsystic: version: 1.14.10, author: supsystic.com Rank Math SEO: version: 1.0.47.1, author: Rank Math Redirect URL to Post: version: 0.16.0, author: Chatty Mango Regenerate Thumbnails Advanced: version: 2.3.2, author: ShortPixel Restrict User Access: version: 2.1, author: Joachim Jensen - DEV Institute SG Optimizer: version: 5.6.6, author: SiteGround Shortcode in Menus: version: 3.5, author: Gagan Deep Singh Shortcodes Ultimate: version: 5.9.3, author: Vladimir Anokhin Simple Banner: version: 2.5.0, author: Ryan Petersen Simple Download Monitor: version: 3.8.9, author: Tips and Tricks HQ, Ruhul Amin, Josh Lobe SiteOrigin Widgets Bundle: version: 1.17.7, author: SiteOrigin Social Icons Widget & Block by WPZOOM: version: 4.0.4, author: WPZOOM Stop Donor Spam: version: 1.2.0, author: Matt Cromwell UpdraftPlus - Backup/Restore: version: 1.16.29, author: UpdraftPlus.Com, DavidAnderson View Admin As: version: 1.8.6, author: Jory Hogeveen Web Stories: version: 1.0.0-rc.1, author: Google Wordfence Security: version: 7.4.11, author: Wordfence WP-Members: version: 3.3.6, author: Chad Butler WP-Optimize - Clean, Compress, Cache: version: 3.1.3, author: David Anderson, Ruhani Rabin, Team Updraft WP Activity Log: version: 4.1.3.2, author: WP White Security WP Activity Log for WPForms: version: 1.0.3, author: WP White Security WPBeginner's Compact Archives: version: 3.0.9, author: WPBeginner WPForms: version: 1.6.2.3, author: WPForms WP Mail SMTP: version: 2.3.1, author: WPForms WP Review Slider: version: 9.2, author: LJ Apps WP Rollback: version: 1.7.1, author: Impress.org Yoast Duplicate Post: version: 3.2.5, author: Enrico Battocchi & Team Yoast

wp-media

image_editor: WP_Image_Editor_GD imagick_module_version: Not available imagemagick_version: Not available gd_version: bundled (2.1.0 compatible) ghostscript_version: 9.27

wp-server

server_architecture: Linux 3.12.18-clouder0 x86_64 httpd_software: Apache php_version: 7.3.20 64bit php_sapi: cgi-fcgi max_input_variables: 3000 time_limit: 120 memory_limit: 768M max_input_time: 120 upload_max_size: 128M php_post_max_size: 128M curl_version: 7.66.0 OpenSSL/1.1.1g-fips suhosin: false imagick_availability: false server-headers: date: Tue, 15 Sep 2020 11:58:44 GMT content-type: text/html; charset=UTF-8 cache-control: no-cache, must-revalidate, max-age=0 cf-railgun: ae7e84fa46 stream 0.000000 0210 e6be expires: Wed, 11 Jan 1984 05:00:00 GMT host-header: 6b7412fb82ca5edfd0917e3957f05d89 link: https://www.XYZ.com/wp-json/; rel="https://api.w.org/", https://www.XYZ.com/wp-json/wp/v2/pages/52; rel="alternate"; type="application/json", https://www.XYZ.com/; rel=shortlink set-cookie: wpSGCacheBypass=1; expires=Tue, 15-Sep-2020 13:38:43 GMT; Max-Age=6000; path=/; HttpOnly; SameSite=Lax vary: Accept-Encoding x-cache-enabled: True x-httpd: 1 x-proxy-cache: BYPASS x-proxy-cache-info: 0 NC:100000 UP:1 cf-cache-status: DYNAMIC cf-request-id: 05333ab8fa0000c568acb1a200000001 expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" strict-transport-security: max-age=15552000; includeSubDomains x-content-type-options: nosniff server: cloudflare cf-ray: 5d322d6e58fdc568-ORD content-encoding: br alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400 htaccess_extra_rules: true

wp-database

extension: mysqli server_version: 5.7.26-29-log client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $

wp-constants

WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/customer/www/XYZ.com/public_html/wp-content WP_PLUGIN_DIR: /home/customer/www/XYZ.com/public_html/wp-content/plugins WP_MAX_MEMORY_LIMIT: 768M WP_DEBUG: true WP_DEBUG_DISPLAY: false WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined

wp-filesystem

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

jetpack

site_id: 170266170 ssl_cert: No time_diff: undefined version_option: 8.9:1598969981 old_version: 8.8.2:1597672188 public: Public master_user: #1 XYZ@gmail.com (XYZ@gmail.com) current_user: #1 XYZ@gmail.com (XYZ@gmail.com) tokens_set: Blog User blog_token: ##########xyz user_token: ##########xyz version: 8.9 jp_plugin_dir: /home/customer/www/XYZ.com/public_html/wp-content/plugins/jetpack/ plan: free HTTP_HOST: www.XYZ.com SERVER_PORT: 443 HTTPS: on HTTP_CF_CONNECTING_IP: 2600:1007:b021:2db9:b1ba:12d5:2f43:77d2 HTTP_X_FORWARDED_FOR: 2600:1007:b021:2db9:b1ba:12d5:2f43:77d2 HTTP_X_REAL_IP: 2600:1007:b021:2db9:b1ba:12d5:2f43:77d2 REMOTE_ADDR: 2600:1007:b021:2db9:b1ba:12d5:2f43:77d2 protect_header: {"trusted_header":"REMOTE_ADDR","segments":1,"reverse":false} full_sync: {"started":"Fri, 11 Sep 2020 23:56:53 +0000","finished":"Fri, 11 Sep 2020 23:57:03 +0000","progress":{"options":{"finished":true},"functions":{"finished":true},"constants":{"finished":true},"users":{"total":"1","sent":1,"finished":true,"last_sent":"1"},"network_options":{"finished":true}},"config":{"options":true,"functions":true,"constants":true,"users":[1],"network_options":true}} sync_size: undefined sync_lag: 0 seconds full_sync_size: undefined full_sync_lag: 0 seconds idc_urls: {"home":"https:\/\/www.XYZ.com","siteurl":"https:\/\/www.XYZ.com","WP_HOME":"","WP_SITEURL":""} idc_error_option: false idc_optin: true cxn_tests: All Pass.

wpforms

version: 1.6.2.3 license: basic lite: Nov 22, 2019 @ 2:38pm pro: Dec 6, 2019 @ 5:36pm db_tables: wp_wpforms_entries, wp_wpforms_entry_fields, wp_wpforms_entry_meta, wp_wpforms_tasks_meta total_forms: 7 total_entries: 520

wp_mail_smtp

version: 2.3.1 license_key_type: lite debug: No debug notices found. db_tables: wp_wpmailsmtp_tasks_meta lite_install_date: Aug 22, 2020 @ 8:03pm

`

  1. Screenshot attached. There is no mention of REST API. Google Web Story Capture 2

Thank you!

ernee commented 4 years ago

@ShihTzuRescuer thank you for this! So the REST API mention might actually be under passed test, which means it is working properly, so something else could be involved.

1) It looks like you're using Cloudflare. Could you place it in development mode and let me know if the issue persists?

2) If it does, could you use the Health Check & Troubleshooting plugin and enable its troubleshooting mode. This mode disables active plugins and switches to a default theme safely because it only affects the experience of the logged-in user.

ShihTzuRescuer commented 4 years ago

Hi @ernee

  1. Issue persists with CloudFlare set to Development mode. (I had purged CloudFlare's cache as well as server and browser caches prior to posting here).

  2. Problem appears only when SG Optimizer and Web Stories are enabled together in troubleshooting mode. Web Stories enabled by itself, and with all (but SG Optimizer) plugins enabled, works as expected. (Also a step I had previously done, but just redid with CF in development mode).

Thank you for your assistance troubleshooting this!

ernee commented 4 years ago

@ShihTzuRescuer thank you for troubleshooting as well! So let's go back to the template page where you try to launch the editor.

1) If possible, could you check for any browser console errors in the browser dev tools when you get the JSON error and send us a screenshot?

2) If you see an error, it would be great if we can get the Response on the request too. Here's how to do it:

Here's a video example on where to navigate: https://recordit.co/90feR8mX5h

ShihTzuRescuer commented 4 years ago

Hi @ernee,

Pleas see below.

  1. see screenshot. I am seeing this error with some templates. The rest open a blank page with no console error. Google Capture 3

  2. I hope I did this part right. If not, I will try again. Google Capture 4 See screenshot.

Thank you!

ernee commented 4 years ago

@ShihTzuRescuer thank you once again!

Are there templates where the error does not occur with the Fix Insecure Content in SG optimizer option enabled?

austintude commented 4 years ago

I am also experiencing a version of this error. I have disabled the SG Optimizer plugin and can now create new and edit old (from the original beta release) stories. When the SG Optimizer plugin is activated, it fails and when I click either edit or create, I land on a blank screen. I am also using CloudFlare and have moved it into Development mode but the same issue persists. DevTools failed to load SourceMap: Could not load content for chrome-extension://eakacpaijcpapndcfffdgphdiccmpknp/scripts/content_page.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME DevTools failed to load SourceMap: Could not load content for chrome-extension://hgmhmanijnjhaffoampdlllchpolkdnj/js/lib/purify.min.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME DevTools failed to load SourceMap: Could not load content for chrome-extension://eakacpaijcpapndcfffdgphdiccmpknp/scripts/content_page.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME DevTools failed to load SourceMap: Could not load content for chrome-extension://hgmhmanijnjhaffoampdlllchpolkdnj/js/lib/purify.min.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME An SSL certificate error occurred when fetching the script. An SSL certificate error occurred when fetching the script. edit.php?post_type=web-story&page=stories-dashboard:1 Mixed Content: The page at 'https://www.staging2.wimberleyvalleyradio.org/wp-admin/edit.php?post_type=web-story&page=stories-dashboard' was loaded over HTTPS, but requested an insecure image 'http://www.wimberleyvalleyradio.org/wp-content/uploads/2020/02/kwvh-wimberley-valley-master-logo-oval.png'. This content should also be served over HTTPS. edit.php?post_type=web-story&page=stories-dashboard:1 Uncaught (in promise) DOMException: Failed to register a ServiceWorker for scope ('https://www.staging2.wimberleyvalleyradio.org/') with script ('https://www.staging2.wimberleyvalleyradio.org/?wp_service_worker=1'): An SSL certificate error occurred when fetching the script. Promise.then (async) (anonymous) @ edit.php?post_type=web-story&page=stories-dashboard:49 load (async) (anonymous) @ edit.php?post_type=web-story&page=stories-dashboard:45 edit.php?post_type=web-story&page=stories-dashboard:1 Uncaught (in promise) DOMException: Failed to register a ServiceWorker for scope ('https://www.staging2.wimberleyvalleyradio.org/wp-admin/') with script ('https://www.staging2.wimberleyvalleyradio.org/wp-admin/admin-ajax.php?action=wp_service_worker'): An SSL certificate error occurred when fetching the script. Promise.then (async) (anonymous) @ edit.php?post_type=web-story&page=stories-dashboard:55 load (async) (anonymous) @ edit.php?post_type=web-story&page=stories-dashboard:45 stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:270 Mixed Content: The page at 'https://www.staging2.wimberleyvalleyradio.org/wp-admin/edit.php?post_type=web-story&page=stories-dashboard' was loaded over HTTPS, but requested an insecure image 'http://www.wimberleyvalleyradio.org/wp-content/uploads/2020/02/kwvh-wimberley-valley-master-logo-oval.png'. This content should also be served over HTTPS. (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:270 u @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:270 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:230 setTimeout (async) (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:230 Ii @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.unstable_runWithPriority @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Fr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Dj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 D @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 w.port1.onmessage @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Mixed Content: The page at 'https://www.staging2.wimberleyvalleyradio.org/wp-admin/edit.php?post_type=web-story&page=stories-dashboard' was loaded over HTTPS, but requested an insecure image 'http://www.wimberleyvalleyradio.org/wp-content/uploads/2020/02/kwvh-wimberley-valley-master-logo-oval.png'. This request has been blocked; the content must be served over HTTPS. Xa @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Si @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Sj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.unstable_runWithPriority @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Fr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Jj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 _i @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.unstable_runWithPriority @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Fr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Ur @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Ig @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vo @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:230 async function (async) (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:230 setTimeout (async) (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:230 Ii @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.unstable_runWithPriority @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Fr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Dj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 D @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 w.port1.onmessage @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Mixed Content: The page at 'https://www.staging2.wimberleyvalleyradio.org/wp-admin/edit.php?post_type=web-story&page=stories-dashboard' was loaded over HTTPS, but requested an insecure image 'http://www.wimberleyvalleyradio.org/wp-content/uploads/2020/02/kwvh-wimberley-valley-master-logo-oval.png'. This request has been blocked; the content must be served over HTTPS. Xa @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Si @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Sj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.unstable_runWithPriority @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Fr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Jj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 _i @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.unstable_runWithPriority @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Fr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Ur @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Ig @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vo @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:230 async function (async) (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:230 setTimeout (async) (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:230 Ii @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.unstable_runWithPriority @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Fr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Dj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 _i @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.unstable_runWithPriority @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Fr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Ur @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Ig @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vo @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:350 async function (async) (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:350 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:364 Ii @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.unstable_runWithPriority @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Fr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Dj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 _i @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.unstable_runWithPriority @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Fr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Ur @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Nj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 ec @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.render @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 u @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 www.wimberleyvalleyradio.org/:1 GET https://www.wimberleyvalleyradio.org/1457/ 404 Image (async) (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:270 u @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:270 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:230 setTimeout (async) (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:230 Ii @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.unstable_runWithPriority @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Fr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Dj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 _i @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.unstable_runWithPriority @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Fr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Ur @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Ig @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vo @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:350 async function (async) (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:350 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:364 Ii @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.unstable_runWithPriority @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Fr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Dj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 _i @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.unstable_runWithPriority @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Fr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Vr @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Ur @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 Nj @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 ec @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 t.render @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 (anonymous) @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 u @ stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:382 stories-dashboard.js?ver=351f270d91c40abb3c51a7eee7170bbc:230 Uncaught (in promise) Event {isTrusted: true, type: "error", target: null, currentTarget: null, eventPhase: 0, …}

ShihTzuRescuer commented 4 years ago

@ernee interestingly "No Days Off" template launches fine with that SG option enabled, either when I select "Use template" or when I click "See details" and then click "Use template". The json error mentioned previously only seems to happen with the "Fresh and Bright" template, while the rest open a blank page. Hope this helps. (I tested all templates today in the two ways mentioned.)

ETA: updating to Version 1.0.0 makes no difference.

ernee commented 4 years ago

Thanks for the updates @ShihTzuRescuer and @austintude ! We'll be looking into this further and update the issue as we have more information.

ernee commented 4 years ago

Just a quick update that we are in contact with the SG team and they are looking into the issue further. Will update the issue when we know more.

ernee commented 4 years ago

@ShihTzuRescuer @austintude another quick follow up that SG has addressed the issue and it will be in their next release of SG Optimizer. We'll follow up when it is out.

ShihTzuRescuer commented 4 years ago

@ernee thank you for the update!

LuckynaSan commented 4 years ago

@ShihTzuRescuer @austintude There has been a recent update to SG Optimizer (version 5.6.8). The issues no longer occur with the "fix insecure content" setting enabled in SG Optimizer and Web Stories v1.0.0 activated. Could you please update SG Optimizer plugin and let us know if the issue is no longer occurring for you as well? Thank you!

ShihTzuRescuer commented 4 years ago

@LuckynaSan I updated yesterday and tested two templates and confirm that there was no error. I will check again tonight or tomorrow to be certain.

austintude commented 4 years ago

I can confirm that SGOptimizer and Stories are no longer incompatible. Thank you.

LuckynaSan commented 4 years ago

We appreciate the confirmation. We will close this issue. Thanks!