• Resolved snecz

    (@snecz)


    Hello I use this shortcode:
    <?php echo do_shortcode( '[ppc exclude="1"]' ); ?>

    I have an error massages:
    Warning: array_keys() expects parameter 1 to be array, null given in …/wp-content/plugins/posts-per-cat/wp-postspercat.php on line 113

    Warning: implode(): Invalid arguments passed in …/wp-content/plugins/posts-per-cat/wp-postspercat.php on line 113

    Warning: array_keys() expects parameter 1 to be array, null given in …/wp-content/plugins/posts-per-cat/wp-postspercat.php on line 117

    Warning: implode(): Invalid arguments passed in …/wp-content/plugins/posts-per-cat/wp-postspercat.php on line 117

    What can cause the problem?

    https://wordpress.org/plugins/posts-per-cat/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Please go to plugin settings page, and try to add/remove some category to enabled for include/exclude.

    Do that worked for you?

    Thread Starter snecz

    (@snecz)

    Is there a plugin settings page? I can’t see any in the dashboard.

    Plugin Author Aleksandar Urošević

    (@urkekg)

    For settings page you’ll need Redux Framework plugin.

    Thread Starter snecz

    (@snecz)

    Is it possible to do it without other plugin? I don’t like to many plugins as they slow down the website.

    Plugin Author Aleksandar Urošević

    (@urkekg)

    Sorry, not at the moment.

    But, to prevent warnings, I released 1.4.1.1 which should fix issue you experiencing. Please confirm after update.

    Cheers

    Thread Starter snecz

    (@snecz)

    Thanks a lot 🙂 Working great now 🙂
    Cheers

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