• Resolved Sirion89

    (@sirion89)


    As soon as i open /wp-admin/tools.php?page=url-rewrite-analyzer i get a fatal error:

    HP Fatal error: Uncaught Error: Attempt to assign property “repeater” on null in /wp-content/plugins/url-rewrite-analyzer/include/class-urap-regex.php:76

    I’m using PHP 8.2, WordPress 6.2.2 and this plugin @version 1.3.2

    Trying to figure out myself what was wrong, i noticed that my IDE suggest that inside wp-content/plugins/url-rewrite-analyzer/include/class-urap-regex.php:91 i have a $repeat_target = new Urap_Regex_String( $letter ); but the Urap_Regex_String class doesn’t exist. Maybe it should be ‘Urap_Regex_Char’ ? i don’t know ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Michael Revellin-Clerc

    (@devloper00)

    Hi @sirion89

    Thanks for opening a ticket let me have a look and push a new update related to this problem =)

    Plugin Author Michael Revellin-Clerc

    (@devloper00)

    Hi @sirion89

    Did it work before ?

    I know it’s a common answer but did you try to disable every plugin and test if it work?

    I made some test on local with the same PHP Version, WordPress and plugin but didn’t notice any error.

    Thread Starter Sirion89

    (@sirion89)

    To be honest i didn’t try to disable but if you ask me i guess it’s because i had something installed that added some weird url rewrite.

    It’s a matter of finding what kind of regex causes the issue, my bad for not printing out the list of rewrites before reporting. I feel ashamed of myself as programmer =(

    Plugin Author Michael Revellin-Clerc

    (@devloper00)

    @sirion89

    You were right !

    I didn’t noticed that I made a typo on the function used!
    I renamed it and push an update!

    Can you tell me if it’s now working for you?

    Cheers

    Thread Starter Sirion89

    (@sirion89)

    I don’t remember what project i was working with, times goes fast and i switched over 20project in the last 4 weeks. Programmer life **** eheh

    I’ll try this again asap, thank you for the kind answer and the hotfix

    Plugin Author Michael Revellin-Clerc

    (@devloper00)

    Alright thanks =)

    Plugin Author Michael Revellin-Clerc

    (@devloper00)

    Let me close that issue for now =)

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