• Resolved joyryde

    (@joyryde)


    We have this error repeated every day in our error logs:

    [20-Mar-2019 09:47:25 UTC] PHP Fatal error: Uncaught Error: Call to a member function find() on boolean in /wp-content/plugins/gallery-custom-links/mgcl_core.php:207
    Stack trace:
    #0 [internal function]: Meow_Gallery_Custom_Links->linkify(‘<?xml version=”…’, 9)
    #1 /wp-includes/functions.php(4212): ob_end_flush()
    #2 /wp-includes/class-wp-hook.php(286): wp_ob_end_flush_all(”)
    #3 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #4 /wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #5 /wp-includes/load.php(788): do_action(‘shutdown’)
    #6 [internal function]: shutdown_action_hook()
    #7 {main}
    thrown in /wp-content/plugins/gallery-custom-links/mgcl_core.php on line 207

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

    (@tigroumeow)

    Hi,

    In the file mgcl_core.php, in the function “linkify”, right before “$hasChanges = false;”, can you try to add the following code?

    if ( empty( $html ) || is_bool( $html ) ) {
      return $buffer;
    }
    Thread Starter joyryde

    (@joyryde)

    I’ve made the changes and will report back in 24 hours. We still have the issue where the plugin is creating fake URL’s that we can only fix by creating 301 redirects for each one.

    Thread Starter joyryde

    (@joyryde)

    No errors in the last 24 hours, so you might want to update the plugin with this new code; seems to have resolved the issue!

    Plugin Author Jordy Meow

    (@tigroumeow)

    Perfect ?? I pushed it as 1.1.3.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Fatal error’ is closed to new replies.