• Hi all, Fatal error opening CataBlog link with wordpress 4.7.1.

    PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function wp_unique_term_slug(), 1 passed in … wp-content/plugins/catablog/lib/CataBlog.class.php on line 3600 and exactly 2 expected

    The line is:
    $slug = @wp_unique_term_slug($slug);
    My temporary patch:
    $slug = @wp_unique_term_slug($slug,null);

    With the update it seems to work but I don’t know the possible side effects of the call with “null” value.

    Best regards

    red

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Red, thank you for reporting this issue and sharing your solution. Just one question what version of PHP is your server running? The reason why I as is because I have this plugin running with WordPress 4.7.1 and it works without throwing the error you mentioned above.

    Regards

    Thread Starter shaphiro

    (@shaphiro)

    You are right! I forgot to mention that I’m using php 7.1.

    This is certainly the problem!

    Thanks,
    Regards

    You are most welcome. Unfortunately the plugin has not been updated to be compatible with PHP 7 yet as you have found out yourself.

    Regards

    • This reply was modified 7 years, 10 months ago by mbrsolution.

    Details say tested up to WordPress 4.4.9 and has been over a 1 year since an update.

    We have upgraded to WP 4.7.4 and PHP 7. Can you tell me when you are going to push out an update to work with WordPress 4.7.x and PHP 7?

    @wpsecuritylock, sorry to hear about your issue. I did receive a reply from the developer a few months ago. He said that he would be releasing an up to date version. However I am not sure when.

    Regards

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