ArgumentCountError Object
(
    [message:protected] => Too few arguments to function Post::get_posts_by_category(), 1 passed in /home/ubuntu/cpmsites/58/controllers/blog.php on line 163 and at least 2 expected
    [string:Error:private] => 
    [code:protected] => 0
    [file:protected] => /home/ubuntu/oyeme/models/Post.php
    [line:protected] => 405
    [trace:Error:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/ubuntu/cpmsites/58/controllers/blog.php
                    [line] => 163
                    [function] => get_posts_by_category
                    [class] => Post
                    [type] => ->
                    [args] => Array
                        (
                            [0] => culture-and-ethics
                        )

                )

            [1] => Array
                (
                    [file] => /home/ubuntu/oyeme/oyeme/app.php
                    [line] => 318
                    [function] => category
                    [class] => Blog_Controller
                    [type] => ->
                    [args] => Array
                        (
                            [0] => culture-and-ethics
                        )

                )

            [2] => Array
                (
                    [file] => /home/ubuntu/oyeme/oyeme/app.php
                    [line] => 177
                    [function] => dispatch
                    [class] => App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => /home/ubuntu/oyeme/oyeme/bootstrap.php
                    [line] => 4
                    [function] => start
                    [class] => App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/vhosts/delreychurch.com/httpdocs/index.php
                    [line] => 2
                    [args] => Array
                        (
                            [0] => /home/ubuntu/oyeme/oyeme/bootstrap.php
                        )

                    [function] => require
                )

        )

    [previous:Error:private] => 
)