• Resolved mentoredin

    (@mentoredin)


    Few issues on a fresh install (never installed before). Get blank page when accessing uibuilder link from admin. Spent several hours debugging the issues and finally narrowed it down to the following issues…

      <li class=”wp-block-list-item”>On a fresh install, source map files are missing, so the browser throws 404 for //# sourceMappingURL=quill.min.js.map and //# sourceMappingURL=vuedraggable.umd.js.map. Both of those source maps are in their respective js files.  <li class=”wp-block-list-item”>Again on fresh install – uip-builder.js file is unable to load/parse uip-php-error-log.js file for some reason. Get generic error for JS load issues… “Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of “text/html”. Strict MIME type checking is enforced for module scripts per HTML spec.”

      I removed the import and corresponding module object initialize statement and ui builder loads.

      • This topic was modified 2 years, 3 months ago by mentoredin.
      • This topic was modified 2 years, 3 months ago by mentoredin.
      • This topic was modified 2 years, 3 months ago by mentoredin.

      The page I need help with: [log in to see the link]

    Viewing 4 replies - 1 through 4 (of 4 total)
    • Plugin Author UiPress

      (@admintwentytwenty)

      Hello,

      Could you confirm the browser you are using? Missing source maps shouldn’t be anything to worry about but there definately shouldn’t be an issue loading up the ‘uip-php-error-log.js’ file – although it should be loading the minified version which has been fixed for the next release.

      Thread Starter mentoredin

      (@mentoredin)

      I am able to reproduce the issues in both the browsers – safari and chrome. Chrome is able to pinpoint the issue while safari isnt very helpful (which is why I spent hours debugging!) but both show errors in console. Also forgot to mention another minor bug deactivation hook needs to call removes_required_caps… looks like a cut and paste error.

      public function activations_hooks()

      {

      register_activation_hook(uip_plugin_path_name . ‘/uipress-lite.php’, [$this, ‘add_required_caps’]);

      register_deactivation_hook(uip_plugin_path_name . ‘/uipress-lite.php’, [$this, ‘add_required_caps’]);

      }

      Plugin Author UiPress

      (@admintwentytwenty)

      Ok, and this site you are testing on has no other plugins installed?

      The other issue with the deactivation hook has been fixed, thanks for the heads up!

      Plugin Author UiPress

      (@admintwentytwenty)

      Closing as we haven’t heard back. If you are still receiving a blank page on the uiBuilder let us know and we can continue to investigate.

      Thanks

    Viewing 4 replies - 1 through 4 (of 4 total)
    • The topic ‘Few bugs in 3.0.95’ is closed to new replies.