• I’ve just uploaded and activated it in my WordPress 5.1.1.

    It appears well on the left side bar in the admin panel with its options but when click on whatever of them opens message for:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function wp_unique_term_slug(), …………………..

    • This topic was modified 5 years, 7 months ago by mrblond.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi, unfortunately CataBlog has not been tested with WordPress 5.1.1 yet. However what php version is your server running?

    Kind regards

    Thread Starter mrblond

    (@mrblond)

    It is on my localhost.
    I don’t know how to check php version.

    Are you testing CataBlog in your computer/laptop? Are you running xampp or mamp? Someone has reported CataBlog working well with WordPress 5.1.1, you can read more about in the following support thread.

    Regards

    Thread Starter mrblond

    (@mrblond)

    Yes, I test it on my laptop, running xampp.

    • This reply was modified 5 years, 7 months ago by mrblond.

    What PHP version is running in your Xampp version?

    Thread Starter mrblond

    (@mrblond)

    Apache/2.4.27 PHP/7.1.9

    Hi, I think it does not work with PHP 7.x.

    Regards

    I’m having the same issue on WP 5.1.1, PHP 7.1. Here’s the full stack trace:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function wp_unique_term_slug(), 1 passed in E:\Software\laragon\www\cmljnelson\wp-content\plugins\catablog\lib\CataBlog.class.php on line 3600 and exactly 2 expected in E:\Software\laragon\www\cmljnelson\wp-includes\taxonomy.php on line 2682
    ( ! ) ArgumentCountError: Too few arguments to function wp_unique_term_slug(), 1 passed in E:\Software\laragon\www\cmljnelson\wp-content\plugins\catablog\lib\CataBlog.class.php on line 3600 and exactly 2 expected in E:\Software\laragon\www\cmljnelson\wp-includes\taxonomy.php on line 2682
    Call Stack
    #	Time	Memory	Function	Location
    1	0.4000	430976	{main}( )	...\admin.php:0
    2	0.4000	446048	require_once( 'E:\Software\laragon\www\cmljnelson\wp-load.php' )	...\admin.php:34
    3	0.4000	458712	require_once( 'E:\Software\laragon\www\cmljnelson\wp-config.php' )	...\wp-load.php:37
    4	0.4000	570360	require_once( 'E:\Software\laragon\www\cmljnelson\wp-settings.php' )	...\wp-config.php:91
    5	0.6700	27453376	do_action( )	...\wp-settings.php:505
    6	0.6700	27453752	WP_Hook->do_action( )	...\plugin.php:465
    7	0.6700	27453752	WP_Hook->apply_filters( )	...\class-wp-hook.php:310
    8	0.7100	27788352	CataBlog->setup( )	...\class-wp-hook.php:286
    9	0.7100	27856080	CataBlog->install( )	...\CataBlog.class.php:2797
    10	0.7100	27856080	CataBlog->install_default_term( )	...\CataBlog.class.php:2833
    11	0.7100	27856080	CataBlog->string2slug( )	...\CataBlog.class.php:2935
    12	0.7100	27856760	wp_unique_term_slug( )	...\CataBlog.class.php:3600
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error: with WP 5.1.1’ is closed to new replies.