• Resolved mkim0818

    (@mkim0818)


    Hello, when trying to extract the game on settings, I get an error.
    This is the message for an apache server, but error also happens on nginx server.
    Can I find why this happens and way to solve it?
    Thank you!

    An error of type E_ERROR was caused in line 717 of the file /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/howescape-unity3d-webgl/hs_unity3d_web_gl.php. Error message: Uncaught Error: Call to undefined function recursiveRemoveDirectory() in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/howescape-unity3d-webgl/hs_unity3d_web_gl.php:717
    Stack trace:
    #0 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/howescape-unity3d-webgl/hs_unity3d_web_gl.php(782): hs_unity3d_web_gl->recursiveRemoveDirectory(‘/opt/bitnami/ap…’)
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(292): hs_unity3d_web_gl->hs_unity3d_admin_options_page(”)
    #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
    #3 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #4 /opt/bitnami/apps/wordpress/htdocs/wp-admin/admin.php(259): do_action(‘settings_page_h…’)
    #5 /opt/bitnami/apps/wordpress/htdocs/wp-admin/options-general.php(10): require_once(‘/opt/bitnami/ap…’)
    #6 {main}
    thrown

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author pthowe

    (@pthowe)

    Hello @mkim0818 , Sorry you are having an issue. The error is from the routine which removes the old version when adding a new version.

    Can you please let me know the version of WordPress / Unity3d Game version
    Has the game ever been deployed? Is this a new game or an update to a game which was already present?

    I am still working on my testing. I will update when I know more.

    Author

    Thread Starter mkim0818

    (@mkim0818)

    Hello,
    I’m using wordpress 5.7.1.
    The Unity version is 2020.3.4f1 but I didn’t even try with my release: the sample games in the plugin are the same.

    Thank you.

    Plugin Author pthowe

    (@pthowe)

    @mkim0818 ,
    I believe I understand the issue. When you install the plugin the delivered games are already expanded. There is nothing to expand. When you create your own game and ZIP file. It will be uploaded to the media folder. Then you need to select an item to be expanded and placed in the Plugin Game directory.

    I am working on an update to prevent this error.

    This issue will also be present if you try to remove a game and do not select an item. If I have missed the issue please let me know.

    Thanks

    Thread Starter mkim0818

    (@mkim0818)

    Oh I see. Thank you.

    Plugin Author pthowe

    (@pthowe)

    Updated plugin to have better form processing

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘error extracting games’ is closed to new replies.