#Main Issue:
We are in the process of migrating to WPEngine and are having issues with using the Pro theme’s main features and editor.
The following Pro features are not working:
-
Headers [
/pro/#/headers
] -
Content [
/pro/#/content
] -
Footers [
/pro/#/footers
] -
Templates [
/pro/#/template-manager
]
Clicking any of these four sections produces these same 2 JavaScript warnings
cs.js?ver=3.5.4:3143
Failed to inflate gzip data SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at r.uncompress (cs.js?ver=3.5.4:3143)
at cs.js?ver=3.5.4:3103
at Array.forEach (<anonymous>)
at cs.js?ver=3.5.4:3103
at y (cs-vendor.js?ver=3.5.4:2834)
at H (cs-vendor.js?ver=3.5.4:2842)
at w (cs-vendor.js?ver=3.5.4:2840)
at e.invoke (cs-vendor.js?ver=3.5.4:1053)
at e.flush (cs-vendor.js?ver=3.5.4:1046)
cs.js?ver=3.5.4:31
Transition Error TypeError: Cannot read property 'type' of undefined
at r._pushInternalModel (cs-vendor.js?ver=3.5.4:4177)
at cs-vendor.js?ver=3.5.4:4176
at e._run (cs-vendor.js?ver=3.5.4:1112)
at e._join (cs-vendor.js?ver=3.5.4:1111)
at e.join (cs-vendor.js?ver=3.5.4:1078)
at r._push (cs-vendor.js?ver=3.5.4:4171)
at cs-vendor.js?ver=3.5.4:4110
at y (cs-vendor.js?ver=3.5.4:2834)
at H (cs-vendor.js?ver=3.5.4:2842)
at w (cs-vendor.js?ver=3.5.4:2840) e {state: e, intent: r, router: e, data: {…}, resolvedModels: {…}, …}
-
Global Blocks [
/pro/#/global-blocks
]
Clicking to edit a Global Block produces this error & warning
cs.js?ver=3.5.4:3143
Failed to inflate gzip data SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at r.uncompress (cs.js?ver=3.5.4:3143)
at cs.js?ver=3.5.4:3103
at Array.forEach (<anonymous>)
at cs.js?ver=3.5.4:3103
at y (cs-vendor.js?ver=3.5.4:2834)
at H (cs-vendor.js?ver=3.5.4:2842)
at w (cs-vendor.js?ver=3.5.4:2840)
at e.invoke (cs-vendor.js?ver=3.5.4:1053)
at e.flush (cs-vendor.js?ver=3.5.4:1046)
cs-vendor.js?ver=3.5.4:4177
Uncaught TypeError: Cannot read property 'type' of undefined
at r._pushInternalModel (cs-vendor.js?ver=3.5.4:4177)
at cs-vendor.js?ver=3.5.4:4176
at e._run (cs-vendor.js?ver=3.5.4:1112)
at e._join (cs-vendor.js?ver=3.5.4:1111)
at e.join (cs-vendor.js?ver=3.5.4:1078)
at r._push (cs-vendor.js?ver=3.5.4:4171)
at cs-vendor.js?ver=3.5.4:4041
at y (cs-vendor.js?ver=3.5.4:2834)
at H (cs-vendor.js?ver=3.5.4:2842)
at w (cs-vendor.js?ver=3.5.4:2840)
-
Editing With Pro [
/pro/#/content/123
]
Clicking "Edit With Pro" produces these 3 Warnings and 1 TypeError
cs.13a2f57.js:5396
Failed to inflate gzip data SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at e.uncompress (cs.13a2f57.js:5396)
at Object.attempt (cs.13a2f57.js:4477)
at cs.13a2f57.js:4479
at Array.forEach (<anonymous>)
at resolve (cs.13a2f57.js:4479)
at d (cs.13a2f57.js:4485)
at cs.13a2f57.js:4497
cs.13a2f57.js:1451
TypeError: Cannot read property 'type' of undefined
at r.<anonymous> (cs-vendor.13a2f57.js:4854)
at r.t [as _pushInternalModel] (cs-vendor.13a2f57.js:4854)
at cs-vendor.13a2f57.js:4854
at e.r._run (cs-vendor.13a2f57.js:3327)
at e.r._join (cs-vendor.13a2f57.js:3326)
at e.r.join (cs-vendor.13a2f57.js:3292)
at r._push (cs-vendor.13a2f57.js:4849)
at cs-vendor.13a2f57.js:4608
at g (cs-vendor.13a2f57.js:3718)
at k (cs-vendor.13a2f57.js:3728)
cs.13a2f57.js:5396
Failed to inflate gzip data SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at e.uncompress (cs.13a2f57.js:5396)
at Object.attempt (cs.13a2f57.js:4477)
at cs.13a2f57.js:4479
at Array.forEach (<anonymous>)
at resolve (cs.13a2f57.js:4479)
at d (cs.13a2f57.js:4485)
at cs.13a2f57.js:4497
cs.13a2f57.js:50
Transition Error TypeError: Cannot read property 'type' of undefined
at r.<anonymous> (cs-vendor.13a2f57.js:4854)
at r.t [as _pushInternalModel] (cs-vendor.13a2f57.js:4854)
at cs-vendor.13a2f57.js:4854
at e.r._run (cs-vendor.13a2f57.js:3327)
at e.r._join (cs-vendor.13a2f57.js:3326)
at e.r.join (cs-vendor.13a2f57.js:3292)
at r._push (cs-vendor.13a2f57.js:4849)
at cs-vendor.13a2f57.js:4608
at g (cs-vendor.13a2f57.js:3718)
at k (cs-vendor.13a2f57.js:3728) e {from: null, to: {…}, isAborted: false, isActive: true, urlMethod: "update", …}
##Things We’ve Tried:
- Completely removed Pro theme and reinstalled
- Updated everything:
- Pro Theme from 2.5.5 to 3.0.4
- WordPress Plugins (including those included with Pro)
- WordPress Core from 5.2.3 to 5.2.4
- PHP from 7.2.7 to 7.3
- Clearing Cache (both server-side and client-side)
- Confirming CDN is disabled (was never enabled)
- Reattempted the site migration multiple times (in case there was a hiccup)
-
Reset
.htaccess
and re-saved permalinks to reset.htaccess
file. - Checked allocated memory is sufficient (was already at 256M)
- Asking WPEngine for Support — 3 different times — and it was suggested to contact the theme author.
Similar Issues in the apex forum:
- Pro Theme not working correctly after using wpengine migration tool
- Header/Footer Builder won’t load at all in Pro
Current Setup vs. WPEngine:
Current WPEngine
• Windows (IIS) • Linux (Apache)
• PHP 7.2.7 • PHP 7.3
• Pro v.2.5.5 • 3.0.4
• WP 5.2.3 • WP 5.2.4