Support » Plugin: 404 Solution » ABJ-404-SOLUTION (ERROR) and PHP Warning

  • Resolved lestadt

    (@lestadt)



    Hello, the plugin works correctly, however, since you activate it, these two errors are recorded constantly in error_log.

    These are the two errors:

    ABJ-404-SOLUTION (ERROR): ABJ404-SOLUTION Normal error handler error: errno: 2, errstr: “levenshtein(): Argument string(s) too long”, errfile: “/public_html/wp-content/plugins/404-solution/includes/SpellChecker.php”, errline: 165

    PHP Warning: levenshtein(): Argument string(s) too long in /public_html/wp-content/plugins/404-solution/includes/SpellChecker.php on line 165

    Any suggestions, is there anything I should do?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author aaron13100

    (@aaron13100)

    lestadt, thanks for your feedback.

    I’ll correct this (as soon as I figure out how) and put out a new version.

    The levenshtein() function seems to have a limit of 255 characters.

    So i should not do anything, just wait for a new update?

    Plugin Author aaron13100

    (@aaron13100)

    Correct. Please stand by…

    Plugin Author aaron13100

    (@aaron13100)

    This has been fixed with version 2.5.3. Let me know how it goes.

    Plugin Author aaron13100

    (@aaron13100)

    I’ll assume the fix is working for you. Just let me know if there are other issues.

    thanks

    It is correct, the update solved the problem mentioned in this ticket. I have two more queries, but I will create a new ticket and put this as solved. Thanks for your quick reaction.

    Not resolved

    showstoppingly slow with error:

    (ERROR): ABJ404-SOLUTION Fatal error handler: {“type”:1,”message”:”Out of memory (allocated 39845888) (tried to allocate 8192 bytes)”,”file”:”/var/www/——–/public_html/wp-content/plugins/404-solution/includes/SpellChecker.php”,”line”:250}, Additional info: (none), PHP version: 7.0.22-0ubuntu0.16.04.1, WP ver: 4.9.1, Plugin ver: 2.5.3, Referrer: https://www.———.com/wp-admin/post.php?post=117996&action=edit,
    Trace: #0 /var/www——/public_html/wp-content/plugins/404-solution/includes/ErrorHandler.php(90): ABJ_404_Solution_Logging->errorMessage(‘ABJ404-SOLUTION…’)

    Plugin Author aaron13100

    (@aaron13100)

    Blair, please subscribe to the support ticket at https://wordpress.org/support/topic/error-out-of-memory-3/

    This is a different issue, so you can create a new ticket next time.

    thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘ABJ-404-SOLUTION (ERROR) and PHP Warning’ is closed to new replies.