• Resolved Baumer

    (@samuel9)


    Updating to Advanced Post Queries (from version 1.1.1 to 1.1.2) has caused critical error and crashed a client’s site.

    An error of type E_COMPILE_ERROR was caused in line 150 of the file /mnt/customers/xxx/wp-content/wp-content/plugins/advanced-post-queries/advanced-post-queries.php. Error message: require_once(): Failed opening required '/mnt/customers/xxx/wp-content/wp-content/plugins/advanced-post-queries/advanced-post-queries/module.php' (include_path='.:/usr/share/php7')

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Baumer

    (@samuel9)

    More details:

    Warning: require_once(/mnt/customers/xxx/wp-content/wp-content/plugins/advanced-post-queries/advanced-post-queries/module.php): failed to open stream: No such file or directory in /mnt/customers/xxx/wp-content/wp-content/plugins/advanced-post-queries/advanced-post-queries.php on line 150 Fatal error: require_once(): Failed opening required '/mnt/customers/xxx/wp-content/wp-content/plugins/advanced-post-queries/advanced-post-queries/module.php' (include_path='.:/usr/share/php7') in /mnt/customers/xxx/wp-content/wp-content/plugins/advanced-post-queries/advanced-post-queries.php on line 150
    
    Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /mnt/customers/xxx/wp-content/wp-includes/functions.php on line 6031 Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /mnt/customers/xxx/wp-content/wp-includes/functions.php on line 6031
    Thread Starter Baumer

    (@samuel9)

    FYI: Temporarily moving module.php from
    /advanced-post-queries/module.php >
    /module.php
    and changing the include to path in line 150 to: require_once (__DIR__ . '/module.php'); has resolved the issue for me at Elementor Cloud Hosting, but is a temp fix

    Thread Starter Baumer

    (@samuel9)

    After debugging in Elementor Cloud hosting, I can see that if the sibling folder has the same name as the plugin, i.e. /advanced-post-queries/advanced-post-queries/ then the subfolder is not extracted into the plugin’s directory! The following would be fine: /advanced-post-queries/src/ etc

    Plugin Author Shabti Kaplan

    (@shabti)

    @samuel9

    sorry about this issue. Thank you for helping me figure out how it happened

    Please let me know if version 1.1.3 is working fine

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Updating to v1.1.2 causing critical error’ is closed to new replies.