Skip to content

RSS Import Login Exception #6

@merilturock

Description

@merilturock

I noticed that the plugin has started to cause some problem for the Daily corn.. I will just give the entire exception details in this plugin.

We could not log you in due to an unknown error.

    LoginException Object

(
[message:protected] => We could not log you in due to an unknown error.
[string:Exception:private] => exception 'LoginException' with message 'We could not log you in due to an unknown error.' in /home/example/public_html/vendor/elgg/elgg/engine/lib/sessions.php:329
Stack trace:
#0 /home/example/public_html/mod/rssimport/lib/functions.php(105): login(Object(ElggUser))
#1 /home/example/public_html/mod/rssimport/lib/hooks.php(29): AU\RSSImport\cron_import('daily')
#2 [internal function]: AU\RSSImport\daily_cron('cron', 'daily', '', Array)
#3 /home/example/public_html/vendor/elgg/elgg/engine/classes/Elgg/PluginHooksService.php(52): call_user_func_array('AU\RSSImport\da...', Array)
#4 /home/example/public_html/vendor/elgg/elgg/engine/lib/elgglib.php(827): Elgg\PluginHooksService->trigger('cron', 'daily', Array, '')
#5 /home/example/public_html/vendor/elgg/elgg/engine/lib/cron.php(133): elgg_trigger_plugin_hook('cron', 'daily', Array, '')
#6 [internal function]: _elgg_cron_page_handler(Array, 'cron')
#7 /home/example/public_html/vendor/elgg/elgg/engine/classes/Elgg/Router.php(100): call_user_func('_elgg_cron_page...', Array, 'cron')
#8 /home/example/public_html/vendor/elgg/elgg/engine/classes/Elgg/Application.php(436): Elgg\Router->route(Object(Elgg\Http\Request))
#9 /home/example/public_html/vendor/elgg/elgg/engine/classes/Elgg/Application.php(384): Elgg\Application->run()
#10 /home/example/public_html/index.php(8): Elgg\Application::index()
#11 {main}
[code:protected] => 0
[file:protected] => /home/example/public_html/vendor/elgg/elgg/engine/lib/sessions.php
[line:protected] => 329
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/example/public_html/mod/rssimport/lib/functions.php
[line] => 105
[function] => login
[args] => Array
(
[0] => ElggUser Object
(
[url_override:protected] =>
[temp_metadata:protected] => Array
(
)

                                [temp_annotations:protected] => Array
                                    (
                                    )

                                [temp_private_settings:protected] => Array
                                    (
                                    )

                                [volatile:protected] => Array
                                    (
                                    )

                                [orig_attributes:protected] => Array
                                    (
                                    )

                                [attributes:protected] => Array
                                    (
                                        [guid] => 321494
                                        [type] => user
                                        [subtype] => 0
                                        [owner_guid] => 0
                                        [site_guid] => 1
                                        [container_guid] => 0
                                        [access_id] => 2
                                        [time_created] => 1526362944
                                        [time_updated] => 1526363957
                                        [last_action] => 1526379605
                                        [enabled] => yes
                                        [name] => Global Alliance Matrimony
                                        [username] => gamatrimonials
                                        [password] => 
                                        [salt] => 
                                        [password_hash] => $2y$10$ePeRZ/e6RpE2qQ1z2ubDOucLnS2GUCUGw46nGZS/wew5MU5qKpmsG
                                        [email] => gamatrimonials@gmail.com
                                        [language] => en
                                        [banned] => no
                                        [admin] => no
                                        [prev_last_action] => 1526379511
                                        [last_login] => 1529660652
                                        [prev_last_login] => 1529346605
                                    )

                                [valid:protected] => 
                                [time:ElggData:private] => 
                            )

                    )

            )

        [1] => Array
            (
                [file] => /home/example/public_html/mod/rssimport/lib/hooks.php
                [line] => 29
                [function] => AU\RSSImport\cron_import
                [args] => Array
                    (
                        [0] => daily
                    )

            )

        [2] => Array
            (
                [function] => AU\RSSImport\daily_cron
                [args] => Array
                    (
                        [0] => cron
                        [1] => daily
                        [2] => 
                        [3] => Array
                            (
                                [time] => 1529865002
                            )

                    )

            )

        [3] => Array
            (
                [file] => /home/example/public_html/vendor/elgg/elgg/engine/classes/Elgg/PluginHooksService.php
                [line] => 52
                [function] => call_user_func_array
                [args] => Array
                    (
                        [0] => AU\RSSImport\daily_cron
                        [1] => Array
                            (
                                [0] => cron
                                [1] => daily
                                [2] => 
                                [3] => Array
                                    (
                                        [time] => 1529865002
                                    )

                            )

                    )

            )

        [4] => Array
            (
                [file] => /home/example/public_html/vendor/elgg/elgg/engine/lib/elgglib.php
                [line] => 827
                [function] => trigger
                [class] => Elgg\PluginHooksService
                [type] => ->
                [args] => Array
                    (
                        [0] => cron
                        [1] => daily
                        [2] => Array
                            (
                                [time] => 1529865002
                            )

                        [3] => 
                    )

            )

        [5] => Array
            (
                [file] => /home/example/public_html/vendor/elgg/elgg/engine/lib/cron.php
                [line] => 133
                [function] => elgg_trigger_plugin_hook
                [args] => Array
                    (
                        [0] => cron
                        [1] => daily
                        [2] => Array
                            (
                                [time] => 1529865002
                            )

                        [3] => 
                    )

            )

        [6] => Array
            (
                [function] => _elgg_cron_page_handler
                [args] => Array
                    (
                        [0] => Array
                            (
                                [0] => daily
                            )

                        [1] => cron
                    )

            )

        [7] => Array
            (
                [file] => /home/example/public_html/vendor/elgg/elgg/engine/classes/Elgg/Router.php
                [line] => 100
                [function] => call_user_func
                [args] => Array
                    (
                        [0] => _elgg_cron_page_handler
                        [1] => Array
                            (
                                [0] => daily
                            )

                        [2] => cron
                    )

            )

        [8] => Array
            (
                [file] => /home/example/public_html/vendor/elgg/elgg/engine/classes/Elgg/Application.php
                [line] => 436
                [function] => route
                [class] => Elgg\Router
                [type] => ->
                [args] => Array
                    (
                        [0] => Elgg\Http\Request Object
                            (
                                [attributes] => Symfony\Component\HttpFoundation\ParameterBag Object
                                    (
                                        [parameters:protected] => Array
                                            (
                                            )

                                    )

                                [request] => Symfony\Component\HttpFoundation\ParameterBag Object
                                    (
                                        [parameters:protected] => Array
                                            (
                                            )

                                    )

                                [query] => Symfony\Component\HttpFoundation\ParameterBag Object
                                    (
                                        [parameters:protected] => Array
                                            (
                                                [__elgg_uri] => /cron/daily
                                            )

                                    )

                                [server] => Symfony\Component\HttpFoundation\ServerBag Object
                                    (
                                        [parameters:protected] => Array
                                            (
                                                [USER] => example
                                                [HOME] => /home/example
                                                [FCGI_ROLE] => RESPONDER
                                                [REDIRECT_UNIQUE_ID] => Wy-jKl1Aojwn7buVZYLnKQAAAUI
                                                [REDIRECT_SCRIPT_URL] => /cron/daily/
                                                [REDIRECT_SCRIPT_URI] => https://www.example.com/cron/daily/
                                                [REDIRECT_HTTPS] => on
                                                [REDIRECT_SSL_TLS_SNI] => www.example.com
                                                [REDIRECT_STATUS] => 200
                                                [UNIQUE_ID] => Wy-jKl1Aojwn7buVZYLnKQAAAUI
                                                [SCRIPT_URL] => /cron/daily/
                                                [SCRIPT_URI] => https://www.example.com/cron/daily/
                                                [HTTPS] => on
                                                [SSL_TLS_SNI] => www.example.com
                                                [proxy-nokeepalive] => 1
                                                [HTTP_USER_AGENT] => curl/7.29.0
                                                [HTTP_HOST] => www.example.com
                                                [HTTP_ACCEPT] => */*
                                                [HTTP_X_HTTPS] => 1
                                                [PATH] => /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
                                                [SERVER_SIGNATURE] => 
                                                [SERVER_SOFTWARE] => Apache
                                                [SERVER_NAME] => www.example.com
                                                [SERVER_ADDR] => 162.250.233.253
                                                [SERVER_PORT] => 443
                                                [REMOTE_ADDR] => 162.250.233.253
                                                [DOCUMENT_ROOT] => /home/example/public_html
                                                [REQUEST_SCHEME] => https
                                                [CONTEXT_PREFIX] => 
                                                [CONTEXT_DOCUMENT_ROOT] => /home/example/public_html
                                                [SERVER_ADMIN] => webmaster@example.com
                                                [SCRIPT_FILENAME] => /home/example/public_html/index.php
                                                [REMOTE_PORT] => 58126
                                                [REDIRECT_URL] => /cron/daily/
                                                [REDIRECT_QUERY_STRING] => __elgg_uri=cron/daily/
                                                [GATEWAY_INTERFACE] => CGI/1.1
                                                [SERVER_PROTOCOL] => HTTP/1.1
                                                [REQUEST_METHOD] => GET
                                                [QUERY_STRING] => __elgg_uri=cron/daily/
                                                [REQUEST_URI] => /cron/daily/
                                                [SCRIPT_NAME] => /index.php
                                                [PHP_SELF] => /index.php
                                                [REQUEST_TIME_FLOAT] => 1529865002.18
                                                [REQUEST_TIME] => 1529865002
                                                [argv] => Array
                                                    (
                                                        [0] => __elgg_uri=cron/daily/
                                                    )

                                                [argc] => 1
                                            )

                                    )

                                [files] => Symfony\Component\HttpFoundation\FileBag Object
                                    (
                                        [parameters:protected] => Array
                                            (
                                            )

                                    )

                                [cookies] => Symfony\Component\HttpFoundation\ParameterBag Object
                                    (
                                        [parameters:protected] => Array
                                            (
                                            )

                                    )

                                [headers] => Symfony\Component\HttpFoundation\HeaderBag Object
                                    (
                                        [headers:protected] => Array
                                            (
                                                [user-agent] => Array
                                                    (
                                                        [0] => curl/7.29.0
                                                    )

                                                [host] => Array
                                                    (
                                                        [0] => www.example.com
                                                    )

                                                [accept] => Array
                                                    (
                                                        [0] => */*
                                                    )

                                                [x-https] => Array
                                                    (
                                                        [0] => 1
                                                    )

                                            )

                                        [cacheControl:protected] => Array
                                            (
                                            )

                                    )

                                [content:protected] => 
                                [languages:protected] => 
                                [charsets:protected] => 
                                [encodings:protected] => 
                                [acceptableContentTypes:protected] => 
                                [pathInfo:protected] => 
                                [requestUri:protected] => 
                                [baseUrl:protected] => 
                                [basePath:protected] => 
                                [method:protected] => 
                                [format:protected] => 
                                [session:protected] => 
                                [locale:protected] => 
                                [defaultLocale:protected] => en
                                [isForwardedValid:Symfony\Component\HttpFoundation\Request:private] => 1
                            )

                    )

            )

        [9] => Array
            (
                [file] => /home/example/public_html/vendor/elgg/elgg/engine/classes/Elgg/Application.php
                [line] => 384
                [function] => run
                [class] => Elgg\Application
                [type] => ->
                [args] => Array
                    (
                    )

            )

        [10] => Array
            (
                [file] => /home/example/public_html/index.php
                [line] => 8
                [function] => index
                [class] => Elgg\Application
                [type] => ::
                [args] => Array
                    (
                    )

            )

    )

[previous:Exception:private] => 

)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions