A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_URI::$config is deprecated

Filename: core/URI.php

Line Number: 101

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Router::$uri is deprecated

Filename: core/Router.php

Line Number: 127

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$benchmark is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$hooks is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$config is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$log is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$utf8 is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$uri is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$exceptions is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$router is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$output is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$security is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$input is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$lang is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$load is deprecated

Filename: core/Controller.php

Line Number: 78

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$db is deprecated

Filename: core/Loader.php

Line Number: 396

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_DB_mysqli_driver::$autoinit is deprecated

Filename: database/DB_driver.php

Line Number: 371

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$carabiner is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 10
Function: __construct

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Languages::$geshi_languages is deprecated

Filename: models/Languages.php

Line Number: 12

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/models/Languages.php
Line: 12
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 12
Function: model

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Languages::$favorite_languages is deprecated

Filename: models/Languages.php

Line Number: 13

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/models/Languages.php
Line: 13
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 12
Function: model

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$languages is deprecated

Filename: core/Loader.php

Line Number: 358

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 12
Function: model

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$curl is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 13
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$recaptcha_publickey is deprecated

Filename: controllers/Main.php

Line Number: 20

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 20
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$recaptcha_privatekey is deprecated

Filename: controllers/Main.php

Line Number: 21

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 21
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$use_recaptcha is deprecated

Filename: controllers/Main.php

Line Number: 22

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 22
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 282

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 289

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 304

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 314

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 315

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 316

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 317

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 375

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 110

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Session cannot be started after headers have already been sent

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$session is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 63
Function: library

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$pastes is deprecated

Filename: core/Loader.php

Line Number: 358

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 584
Function: model

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$process is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/models/Pastes.php
Line: 421
Function: library

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 592
Function: getPaste

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: filter_var(): Passing null to parameter #3 ($options) of type array|int is deprecated

Filename: core/Input.php

Line Number: 572

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/models/Pastes.php
Line: 522
Function: ip_address

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 592
Function: getPaste

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$benchmark is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$hooks is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$config is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$log is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$utf8 is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$uri is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$exceptions is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$router is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$output is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$security is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$input is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$lang is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$load is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$db is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$carabiner is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$languages is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$curl is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$recaptcha_publickey is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$recaptcha_privatekey is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$use_recaptcha is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$session is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$pastes is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$process is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /usr/share/webapps/Stikked/htdocs/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /usr/share/webapps/Stikked/htdocs/application/controllers/Main.php
Line: 599
Function: view

File: /usr/share/webapps/Stikked/htdocs/index.php
Line: 284
Function: require_once

ppdate - Stikked

ppdate

From pp date, 8 Years ago, written in Plain Text, viewed 2'115 times.
URL http://stikked.luisaranguren.com/view/ddf9603f Embed
Download Paste or View Raw
  1. import datetime as datetime
  2.  
  3. def pretty_date(time=False):
  4.     """
  5.     Get a datetime object or a int() Epoch timestamp and return a
  6.     pretty string like 'an hour ago', 'Yesterday', '3 months ago',
  7.     'just now', etc
  8.     """
  9.     now = datetime.datetime.now()
  10.     if type(time) is int:
  11.         diff = now - datetime.datetime.fromtimestamp(time)
  12.     elif isinstance(time,datetime.datetime):
  13.         diff = now - time
  14.     elif not time:
  15.         diff = now - now
  16.     second_diff = diff.seconds
  17.     day_diff = diff.days
  18.  
  19.     if day_diff < 0:
  20.         return ''
  21.  
  22.     if day_diff == 0:
  23.         if second_diff < 10:
  24.             return "just now"
  25.         if second_diff < 60:
  26.             return str(second_diff) + " seconds ago"
  27.         if second_diff < 120:
  28.             return "a minute ago"
  29.         if second_diff < 3600:
  30.             return str(second_diff / 60) + " minutes ago"
  31.         if second_diff < 7200:
  32.             return "an hour ago"
  33.         if second_diff < 86400:
  34.             return str(second_diff / 3600) + " hours ago"
  35.     if day_diff == 1:
  36.         return "Yesterday"
  37.     if day_diff < 7:
  38.         return str(day_diff) + " days ago"
  39.     if day_diff < 31:
  40.         return str(day_diff / 7) + " weeks ago"
  41.     if day_diff < 365:
  42.         return str(day_diff / 30) + " months ago"
  43.     return str(day_diff / 365) + " years ago"

Reply to "ppdate"

Here you can reply to the paste above