SPIP

SPIP (1)

probleme de cookie suite à migration SPIP 3

  • Published in SPIP

  • ( ! ) Notice: Undefined property: Joomla\CMS\User\User::$profile in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category_item.php on line 49
    Call Stack
    #TimeMemoryFunctionLocation
    10.0001397872{main}( ).../index.php:0
    20.02511348264Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
    30.02511348264Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
    40.22002778224Joomla\CMS\Application\SiteApplication->dispatch( $component = ??? ).../SiteApplication.php:233
    50.22022800048Joomla\CMS\Component\ComponentHelper::renderComponent( $option = 'com_k2', $params = ??? ).../SiteApplication.php:194
    60.22062855400Joomla\CMS\Component\ComponentHelper::executeComponent( $path = '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:377
    70.22072872456require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php ).../ComponentHelper.php:402
    80.22393004696K2ControllerItemlist->execute( $task = 'category' ).../k2.php:64
    90.22393004696K2ControllerItemlist->display( $cachable = ???, $urlparams = ??? ).../BaseController.php:710
    100.22613028296K2ControllerItemlist->display( $cachable = TRUE, $urlparams = ['limit' => 'UINT', 'limitstart' => 'UINT', 'id' => 'INT', 'tag' => 'STRING', 'searchword' => 'STRING', 'day' => 'INT', 'year' => 'INT', 'month' => 'INT', 'print' => 'INT', 'lang' => 'CMD', 'Itemid' => 'INT', 'ordering' => 'CMD', 'm' => 'INT', 'amp' => 'INT', 'tmpl' => 'CMD', 'template' => 'CMD'] ).../itemlist.php:49
    110.22613028296K2ControllerItemlist->display( $cachable = TRUE, $urlparams = ['limit' => 'UINT', 'limitstart' => 'UINT', 'id' => 'INT', 'tag' => 'STRING', 'searchword' => 'STRING', 'day' => 'INT', 'year' => 'INT', 'month' => 'INT', 'print' => 'INT', 'lang' => 'CMD', 'Itemid' => 'INT', 'ordering' => 'CMD', 'm' => 'INT', 'amp' => 'INT', 'tmpl' => 'CMD', 'template' => 'CMD'] ).../controller.php:19
    120.22683035808Joomla\CMS\Cache\Controller\ViewController->get( $view = class K2ViewItemlist { public $document = class Joomla\CMS\Document\HtmlDocument { public $_links = [...]; public $_custom = [...]; public $template = NULL; public $baseurl = NULL; public $params = NULL; public $_file = NULL; protected $_template = ''; protected $_template_tags = [...]; protected $_caching = NULL; private $_html5 = NULL; public $title = 'SPIP'; public $description = ''; public $link = ''; public $base = 'https://www.shan.info/component/k2/itemlist/category/94-spip.html'; public $language = 'en-gb'; public $direction = 'ltr'; public $_generator = 'Joomla! - Open Source Content Management'; public $_mdate = ''; public $_tab = '\t'; public $_lineEnd = '\n'; public $_charset = 'utf-8'; public $_mime = 'text/html'; public $_namespace = ''; public $_profile = ''; public $_scripts = [...]; public $_script = [...]; protected $scriptOptions = [...]; public $_styleSheets = [...]; public $_style = [...]; public $_metaTags = [...]; public $_engine = NULL; public $_type = 'html'; protected $mediaVersion = '15dbf078d61dbbf76811992dd0143dd9' }; protected $_name = 'itemlist'; protected $_models = ['item' => class K2ModelItem { ... }, 'itemlist' => class K2ModelItemlist { ... }]; protected $_basePath = '/var/www/vhosts/shan.info/httpdocs/components/com_k2'; protected $_defaultModel = 'itemlist'; protected $_layout = 'category'; protected $_layoutExt = 'php'; protected $_layoutTemplate = '_'; protected $_path = ['template' => [...], 'helper' => [...]]; protected $_template = '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category_item.php'; protected $_output = NULL; protected $_escape = 'htmlspecialchars'; protected $_charset = 'UTF-8'; protected $_errors = []; public $baseurl = ''; public $now = '2021-12-03 13:15:26'; public $nullDate = '0000-00-00 00:00:00'; public $category = class TableK2Category { public $id = '94'; public $name = 'SPIP'; public $alias = 'spip'; public $description = ''; public $parent = '0'; public $extraFieldsGroup = '0'; public $published = '1'; public $image = '/components/com_k2/images/placeholder/category.png'; public $access = '1'; public $ordering = '50'; public $params = '{"inheritFrom":"0","theme":"","num_leading_items":"2","num_leading_columns":"1","leadingImgSize":"Large","num_primary_items":"4","num_primary_columns":"2","primaryImgSize":"Medium","num_secondary_items":"4","num_secondary_columns":"1","secondaryImgSize":"Small","num_links":"4","num_links_columns":"1","linksImgSize":"XSmall","catCatalogMode":"0","catFeaturedItems":"1","catOrdering":"","catPagination":"2","catPaginationResults":"1","catTitle":"1","catTitleItemCounter":"1","catDescription":"1","catImage":"1","'; public $trash = '0'; public $plugins = ''; public $language = '*'; protected $_tbl = '#__k2_categories'; protected $_tbl_key = 'id'; protected $_tbl_keys = [...]; protected $_db = class JDatabaseDriverMysqli { ... }; protected $_trackAssets = FALSE; protected $_rules = NULL; protected $_locked = FALSE; protected $_autoincrement = TRUE; protected $_observers = class JObserverUpdater { ... }; protected $_columnAlias = [...]; protected $_jsonEncode = [...]; protected $_errors = [...]; public $metaDescription = NULL; public $metaKeywords = NULL; public $metaRobots = NULL; public $metaAuthor = NULL; public $link = '/component/k2/itemlist/category/94-spip.html'; public $text = ''; public $jcfields = [...]; public $event = class stdClass { ... } }; public $user = class Joomla\CMS\User\User { protected $isRoot = FALSE; public $id = 0; public $name = NULL; public $username = NULL; public $email = NULL; public $password = NULL; public $password_clear = ''; public $block = NULL; public $sendEmail = 0; public $registerDate = NULL; public $lastvisitDate = NULL; public $activation = NULL; public $params = NULL; public $groups = [...]; public $guest = 1; public $lastResetTime = NULL; public $resetCount = NULL; public $requireReset = NULL; protected $_params = class Joomla\Registry\Registry { ... }; protected $_authGroups = NULL; protected $_authLevels = [...]; protected $_authActions = NULL; protected $_errorMsg = NULL; protected $userHelper = class Joomla\CMS\User\UserWrapper { ... }; protected $_errors = [...]; public $aid = 0; public $gid = 1 }; public $feed = 'https://www.shan.info/component/k2/itemlist/category/94-spip.html&format=feed'; public $leading = [0 => class stdClass { ... }]; public $primary = []; public $secondary = []; public $links = []; public $params = class Joomla\Registry\Registry { protected $data = class stdClass { ... }; protected $initialized = TRUE; public $separator = '.' }; public $pagination = class Joomla\CMS\Pagination\Pagination { public $limitstart = 0; public $limit = 14; public $total = 1; public $prefix = ''; public $pagesStart = 1; public $pagesStop = 1; public $pagesCurrent = 1; public $pagesTotal = 1; public $hideEmptyLimitstart = FALSE; protected $viewall = FALSE; protected $additionalUrlParams = [...]; protected $app = class Joomla\CMS\Application\SiteApplication { ... }; protected $data = NULL }; public $item = class stdClass { public $id = '556'; public $title = 'probleme de cookie suite à migration SPIP 3'; public $alias = 'probleme-de-cookie-suite-à-migration-spip-3'; public $catid = '94'; public $published = '1'; public $introtext = '<ul style="font-family: \'Trebuchet MS\', Helvetica, sans-serif; font-size: 16px; line-height: normal;">\r\n<li style="margin: 0px; padding: 0px;">\r\n<div id="forum251947" class="reponse" style="margin: 0px; padding: 0px; border-width: 1px; border-style: dotted solid; border-color: #cccccc #b9a5bf; font-size: 0.9em;">\r\n<div class="question_titre" style="margin: 0.5em; padding: 0.5em; background-color: #d7afd8; border: none;"><a style="color: #444444; font-size: 0.96em;" href="http://forum.spip.net/fr_251'; public $fulltext = ''; public $video = NULL; public $gallery = NULL; public $extra_fields = '[]'; public $extra_fields_search = ''; public $created = '2013-10-05 19:04:22'; public $created_by = '63'; public $created_by_alias = ''; public $checked_out = '0'; public $checked_out_time = '0000-00-00 00:00:00'; public $modified = '0000-00-00 00:00:00'; public $modified_by = '0'; public $publish_up = '2013-10-05 19:04:22'; public $publish_down = '0000-00-00 00:00:00'; public $trash = '0'; public $access = '1'; public $ordering = '1'; public $featured = '0'; public $featured_ordering = '0'; public $image_caption = ''; public $image_credits = ''; public $video_caption = ''; public $video_credits = ''; public $hits = '2438'; public $params = class Joomla\Registry\Registry { ... }; public $metadesc = ''; public $metadata = 'robots=\nauthor='; public $metakey = ''; public $plugins = ''; public $language = '*'; public $categoryname = 'SPIP'; public $categoryid = '94'; public $categoryalias = 'spip'; public $categoryparams = '{"inheritFrom":"0","theme":"","num_leading_items":"2","num_leading_columns":"1","leadingImgSize":"Large","num_primary_items":"4","num_primary_columns":"2","primaryImgSize":"Medium","num_secondary_items":"4","num_secondary_columns":"1","secondaryImgSize":"Small","num_links":"4","num_links_columns":"1","linksImgSize":"XSmall","catCatalogMode":"0","catFeaturedItems":"1","catOrdering":"","catPagination":"2","catPaginationResults":"1","catTitle":"1","catTitleItemCounter":"1","catDescription":"1","catImage":"1","'; public $itemGroup = 'leading'; public $category = class TableK2Category { ... }; public $link = '/item/556-probleme-de-cookie-suite-à-migration-spip-3.html'; public $printLink = '/item/556-probleme-de-cookie-suite-à-migration-spip-3.html?tmpl=component&amp;print=1'; public $tags = [...]; public $imageXSmall = ''; public $imageSmall = ''; public $imageMedium = ''; public $imageLarge = ''; public $imageXLarge = ''; public $rawTitle = 'probleme de cookie suite à migration SPIP 3'; public $author = class Joomla\CMS\User\User { ... }; public $text = '<ul style="font-family: \'Trebuchet MS\', Helvetica, sans-serif; font-size: 16px; line-height: normal;">\r\n<li style="margin: 0px; padding: 0px;">\r\n<div id="forum251947" class="reponse" style="margin: 0px; padding: 0px; border-width: 1px; border-style: dotted solid; border-color: #cccccc #b9a5bf; font-size: 0.9em;">\r\n<div class="question_titre" style="margin: 0.5em; padding: 0.5em; background-color: #d7afd8; border: none;"><a style="color: #444444; font-size: 0.96em;" href="http://forum.spip.net/fr_251'; public $event = class stdClass { ... }; public $jcfields = [...]; public $image = ''; public $imageWidth = '600' } }, $method = 'display', $id = ???, $wrkarounds = ??? ).../BaseController.php:663
    130.22743056496K2ViewItemlist->display( $tpl = ??? ).../ViewController.php:102
    140.25865767912K2ViewItemlist->display( $tpl = NULL ).../view.html.php:1407
    150.25865767912K2ViewItemlist->loadTemplate( $tpl = NULL ).../HtmlView.php:230
    160.25925844736include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category.php ).../HtmlView.php:701
    170.25935844736K2ViewItemlist->loadTemplate( $tpl = 'item' ).../category.php:94
    180.25985940360include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category_item.php ).../HtmlView.php:701

    ( ! ) Notice: Trying to get property 'gender' of non-object in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category_item.php on line 49
    Call Stack
    #TimeMemoryFunctionLocation
    10.0001397872{main}( ).../index.php:0
    20.02511348264Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
    30.02511348264Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
    40.22002778224Joomla\CMS\Application\SiteApplication->dispatch( $component = ??? ).../SiteApplication.php:233
    50.22022800048Joomla\CMS\Component\ComponentHelper::renderComponent( $option = 'com_k2', $params = ??? ).../SiteApplication.php:194
    60.22062855400Joomla\CMS\Component\ComponentHelper::executeComponent( $path = '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:377
    70.22072872456require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php ).../ComponentHelper.php:402
    80.22393004696K2ControllerItemlist->execute( $task = 'category' ).../k2.php:64
    90.22393004696K2ControllerItemlist->display( $cachable = ???, $urlparams = ??? ).../BaseController.php:710
    100.22613028296K2ControllerItemlist->display( $cachable = TRUE, $urlparams = ['limit' => 'UINT', 'limitstart' => 'UINT', 'id' => 'INT', 'tag' => 'STRING', 'searchword' => 'STRING', 'day' => 'INT', 'year' => 'INT', 'month' => 'INT', 'print' => 'INT', 'lang' => 'CMD', 'Itemid' => 'INT', 'ordering' => 'CMD', 'm' => 'INT', 'amp' => 'INT', 'tmpl' => 'CMD', 'template' => 'CMD'] ).../itemlist.php:49
    110.22613028296K2ControllerItemlist->display( $cachable = TRUE, $urlparams = ['limit' => 'UINT', 'limitstart' => 'UINT', 'id' => 'INT', 'tag' => 'STRING', 'searchword' => 'STRING', 'day' => 'INT', 'year' => 'INT', 'month' => 'INT', 'print' => 'INT', 'lang' => 'CMD', 'Itemid' => 'INT', 'ordering' => 'CMD', 'm' => 'INT', 'amp' => 'INT', 'tmpl' => 'CMD', 'template' => 'CMD'] ).../controller.php:19
    120.22683035808Joomla\CMS\Cache\Controller\ViewController->get( $view = class K2ViewItemlist { public $document = class Joomla\CMS\Document\HtmlDocument { public $_links = [...]; public $_custom = [...]; public $template = NULL; public $baseurl = NULL; public $params = NULL; public $_file = NULL; protected $_template = ''; protected $_template_tags = [...]; protected $_caching = NULL; private $_html5 = NULL; public $title = 'SPIP'; public $description = ''; public $link = ''; public $base = 'https://www.shan.info/component/k2/itemlist/category/94-spip.html'; public $language = 'en-gb'; public $direction = 'ltr'; public $_generator = 'Joomla! - Open Source Content Management'; public $_mdate = ''; public $_tab = '\t'; public $_lineEnd = '\n'; public $_charset = 'utf-8'; public $_mime = 'text/html'; public $_namespace = ''; public $_profile = ''; public $_scripts = [...]; public $_script = [...]; protected $scriptOptions = [...]; public $_styleSheets = [...]; public $_style = [...]; public $_metaTags = [...]; public $_engine = NULL; public $_type = 'html'; protected $mediaVersion = '15dbf078d61dbbf76811992dd0143dd9' }; protected $_name = 'itemlist'; protected $_models = ['item' => class K2ModelItem { ... }, 'itemlist' => class K2ModelItemlist { ... }]; protected $_basePath = '/var/www/vhosts/shan.info/httpdocs/components/com_k2'; protected $_defaultModel = 'itemlist'; protected $_layout = 'category'; protected $_layoutExt = 'php'; protected $_layoutTemplate = '_'; protected $_path = ['template' => [...], 'helper' => [...]]; protected $_template = '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category_item.php'; protected $_output = NULL; protected $_escape = 'htmlspecialchars'; protected $_charset = 'UTF-8'; protected $_errors = []; public $baseurl = ''; public $now = '2021-12-03 13:15:26'; public $nullDate = '0000-00-00 00:00:00'; public $category = class TableK2Category { public $id = '94'; public $name = 'SPIP'; public $alias = 'spip'; public $description = ''; public $parent = '0'; public $extraFieldsGroup = '0'; public $published = '1'; public $image = '/components/com_k2/images/placeholder/category.png'; public $access = '1'; public $ordering = '50'; public $params = '{"inheritFrom":"0","theme":"","num_leading_items":"2","num_leading_columns":"1","leadingImgSize":"Large","num_primary_items":"4","num_primary_columns":"2","primaryImgSize":"Medium","num_secondary_items":"4","num_secondary_columns":"1","secondaryImgSize":"Small","num_links":"4","num_links_columns":"1","linksImgSize":"XSmall","catCatalogMode":"0","catFeaturedItems":"1","catOrdering":"","catPagination":"2","catPaginationResults":"1","catTitle":"1","catTitleItemCounter":"1","catDescription":"1","catImage":"1","'; public $trash = '0'; public $plugins = ''; public $language = '*'; protected $_tbl = '#__k2_categories'; protected $_tbl_key = 'id'; protected $_tbl_keys = [...]; protected $_db = class JDatabaseDriverMysqli { ... }; protected $_trackAssets = FALSE; protected $_rules = NULL; protected $_locked = FALSE; protected $_autoincrement = TRUE; protected $_observers = class JObserverUpdater { ... }; protected $_columnAlias = [...]; protected $_jsonEncode = [...]; protected $_errors = [...]; public $metaDescription = NULL; public $metaKeywords = NULL; public $metaRobots = NULL; public $metaAuthor = NULL; public $link = '/component/k2/itemlist/category/94-spip.html'; public $text = ''; public $jcfields = [...]; public $event = class stdClass { ... } }; public $user = class Joomla\CMS\User\User { protected $isRoot = FALSE; public $id = 0; public $name = NULL; public $username = NULL; public $email = NULL; public $password = NULL; public $password_clear = ''; public $block = NULL; public $sendEmail = 0; public $registerDate = NULL; public $lastvisitDate = NULL; public $activation = NULL; public $params = NULL; public $groups = [...]; public $guest = 1; public $lastResetTime = NULL; public $resetCount = NULL; public $requireReset = NULL; protected $_params = class Joomla\Registry\Registry { ... }; protected $_authGroups = NULL; protected $_authLevels = [...]; protected $_authActions = NULL; protected $_errorMsg = NULL; protected $userHelper = class Joomla\CMS\User\UserWrapper { ... }; protected $_errors = [...]; public $aid = 0; public $gid = 1 }; public $feed = 'https://www.shan.info/component/k2/itemlist/category/94-spip.html&format=feed'; public $leading = [0 => class stdClass { ... }]; public $primary = []; public $secondary = []; public $links = []; public $params = class Joomla\Registry\Registry { protected $data = class stdClass { ... }; protected $initialized = TRUE; public $separator = '.' }; public $pagination = class Joomla\CMS\Pagination\Pagination { public $limitstart = 0; public $limit = 14; public $total = 1; public $prefix = ''; public $pagesStart = 1; public $pagesStop = 1; public $pagesCurrent = 1; public $pagesTotal = 1; public $hideEmptyLimitstart = FALSE; protected $viewall = FALSE; protected $additionalUrlParams = [...]; protected $app = class Joomla\CMS\Application\SiteApplication { ... }; protected $data = NULL }; public $item = class stdClass { public $id = '556'; public $title = 'probleme de cookie suite à migration SPIP 3'; public $alias = 'probleme-de-cookie-suite-à-migration-spip-3'; public $catid = '94'; public $published = '1'; public $introtext = '<ul style="font-family: \'Trebuchet MS\', Helvetica, sans-serif; font-size: 16px; line-height: normal;">\r\n<li style="margin: 0px; padding: 0px;">\r\n<div id="forum251947" class="reponse" style="margin: 0px; padding: 0px; border-width: 1px; border-style: dotted solid; border-color: #cccccc #b9a5bf; font-size: 0.9em;">\r\n<div class="question_titre" style="margin: 0.5em; padding: 0.5em; background-color: #d7afd8; border: none;"><a style="color: #444444; font-size: 0.96em;" href="http://forum.spip.net/fr_251'; public $fulltext = ''; public $video = NULL; public $gallery = NULL; public $extra_fields = '[]'; public $extra_fields_search = ''; public $created = '2013-10-05 19:04:22'; public $created_by = '63'; public $created_by_alias = ''; public $checked_out = '0'; public $checked_out_time = '0000-00-00 00:00:00'; public $modified = '0000-00-00 00:00:00'; public $modified_by = '0'; public $publish_up = '2013-10-05 19:04:22'; public $publish_down = '0000-00-00 00:00:00'; public $trash = '0'; public $access = '1'; public $ordering = '1'; public $featured = '0'; public $featured_ordering = '0'; public $image_caption = ''; public $image_credits = ''; public $video_caption = ''; public $video_credits = ''; public $hits = '2438'; public $params = class Joomla\Registry\Registry { ... }; public $metadesc = ''; public $metadata = 'robots=\nauthor='; public $metakey = ''; public $plugins = ''; public $language = '*'; public $categoryname = 'SPIP'; public $categoryid = '94'; public $categoryalias = 'spip'; public $categoryparams = '{"inheritFrom":"0","theme":"","num_leading_items":"2","num_leading_columns":"1","leadingImgSize":"Large","num_primary_items":"4","num_primary_columns":"2","primaryImgSize":"Medium","num_secondary_items":"4","num_secondary_columns":"1","secondaryImgSize":"Small","num_links":"4","num_links_columns":"1","linksImgSize":"XSmall","catCatalogMode":"0","catFeaturedItems":"1","catOrdering":"","catPagination":"2","catPaginationResults":"1","catTitle":"1","catTitleItemCounter":"1","catDescription":"1","catImage":"1","'; public $itemGroup = 'leading'; public $category = class TableK2Category { ... }; public $link = '/item/556-probleme-de-cookie-suite-à-migration-spip-3.html'; public $printLink = '/item/556-probleme-de-cookie-suite-à-migration-spip-3.html?tmpl=component&amp;print=1'; public $tags = [...]; public $imageXSmall = ''; public $imageSmall = ''; public $imageMedium = ''; public $imageLarge = ''; public $imageXLarge = ''; public $rawTitle = 'probleme de cookie suite à migration SPIP 3'; public $author = class Joomla\CMS\User\User { ... }; public $text = '<ul style="font-family: \'Trebuchet MS\', Helvetica, sans-serif; font-size: 16px; line-height: normal;">\r\n<li style="margin: 0px; padding: 0px;">\r\n<div id="forum251947" class="reponse" style="margin: 0px; padding: 0px; border-width: 1px; border-style: dotted solid; border-color: #cccccc #b9a5bf; font-size: 0.9em;">\r\n<div class="question_titre" style="margin: 0.5em; padding: 0.5em; background-color: #d7afd8; border: none;"><a style="color: #444444; font-size: 0.96em;" href="http://forum.spip.net/fr_251'; public $event = class stdClass { ... }; public $jcfields = [...]; public $image = ''; public $imageWidth = '600' } }, $method = 'display', $id = ???, $wrkarounds = ??? ).../BaseController.php:663
    130.22743056496K2ViewItemlist->display( $tpl = ??? ).../ViewController.php:102
    140.25865767912K2ViewItemlist->display( $tpl = NULL ).../view.html.php:1407
    150.25865767912K2ViewItemlist->loadTemplate( $tpl = NULL ).../HtmlView.php:230
    160.25925844736include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category.php ).../HtmlView.php:701
    170.25935844736K2ViewItemlist->loadTemplate( $tpl = 'item' ).../category.php:94
    180.25985940360include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category_item.php ).../HtmlView.php:701
    Written by alamise
  • Merci, 
    les tutos que tu m’a montré m’ont permis de résoudre partiellement mon problème .

    Création d’un fichier mes_options.php dans le répertoires ’config’
    en ajoutant comme ligne de code

    1. <?php
    2. if (function_exists("date_default_timezone_set"))
    3. date_default_timezone_set("Europe/Paris");
    4.  
    5. ini_set('display_errors','Off');
    6. ?>

    Télécharger

    ensuite lorsque je veux accéder à mon espace privée pour la première fois je désactive le fichier mes_options.php pour l’authentification puis je le réactive quand je suis logué sur l’espace privée . 
    et j’évite de me déconnecter afin de préserver mon cookie

    Je suis conscients que ce n’est pas très élaboré comme solution 
    mais en attendant une mise à jour de spip je n’en vois pas d’autre.


  • Pense aussi à enregistrer "mes_options.php" au format utf-8 sans BOM (avec Notepad++ par exemple). Cela n’a peut être rien à voir, mais j’ai vu que quelqu’un mentionnait ce point sur ces forum. Or j’ai eu récemment un bug qui m’a pris la tête pendant une demi-journée à cause de ça : mon machin marchait en local mais pas chez mon hébergeur. Je voyais bien que cela venait de ce fichier mais pas quelle était la ligne fautive. J’ai fini par vider totalement le fichier, à l’exception de

    1. <?php ?>

    et l’erreur subsistait ! C’était ce fichu format...

     

    结尾?>不要有空格

Read more...
Subscribe to this RSS feed
( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category.php on line 191
Call Stack
#TimeMemoryFunctionLocation
10.0001397872{main}( ).../index.php:0
20.02511348264Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.02511348264Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.22002778224Joomla\CMS\Application\SiteApplication->dispatch( $component = ??? ).../SiteApplication.php:233
50.22022800048Joomla\CMS\Component\ComponentHelper::renderComponent( $option = 'com_k2', $params = ??? ).../SiteApplication.php:194
60.22062855400Joomla\CMS\Component\ComponentHelper::executeComponent( $path = '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:377
70.22072872456require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php ).../ComponentHelper.php:402
80.22393004696K2ControllerItemlist->execute( $task = 'category' ).../k2.php:64
90.22393004696K2ControllerItemlist->display( $cachable = ???, $urlparams = ??? ).../BaseController.php:710
100.22613028296K2ControllerItemlist->display( $cachable = TRUE, $urlparams = ['limit' => 'UINT', 'limitstart' => 'UINT', 'id' => 'INT', 'tag' => 'STRING', 'searchword' => 'STRING', 'day' => 'INT', 'year' => 'INT', 'month' => 'INT', 'print' => 'INT', 'lang' => 'CMD', 'Itemid' => 'INT', 'ordering' => 'CMD', 'm' => 'INT', 'amp' => 'INT', 'tmpl' => 'CMD', 'template' => 'CMD'] ).../itemlist.php:49
110.22613028296K2ControllerItemlist->display( $cachable = TRUE, $urlparams = ['limit' => 'UINT', 'limitstart' => 'UINT', 'id' => 'INT', 'tag' => 'STRING', 'searchword' => 'STRING', 'day' => 'INT', 'year' => 'INT', 'month' => 'INT', 'print' => 'INT', 'lang' => 'CMD', 'Itemid' => 'INT', 'ordering' => 'CMD', 'm' => 'INT', 'amp' => 'INT', 'tmpl' => 'CMD', 'template' => 'CMD'] ).../controller.php:19
120.22683035808Joomla\CMS\Cache\Controller\ViewController->get( $view = class K2ViewItemlist { public $document = class Joomla\CMS\Document\HtmlDocument { public $_links = [...]; public $_custom = [...]; public $template = NULL; public $baseurl = NULL; public $params = NULL; public $_file = NULL; protected $_template = ''; protected $_template_tags = [...]; protected $_caching = NULL; private $_html5 = NULL; public $title = 'SPIP'; public $description = ''; public $link = ''; public $base = 'https://www.shan.info/component/k2/itemlist/category/94-spip.html'; public $language = 'en-gb'; public $direction = 'ltr'; public $_generator = 'Joomla! - Open Source Content Management'; public $_mdate = ''; public $_tab = '\t'; public $_lineEnd = '\n'; public $_charset = 'utf-8'; public $_mime = 'text/html'; public $_namespace = ''; public $_profile = ''; public $_scripts = [...]; public $_script = [...]; protected $scriptOptions = [...]; public $_styleSheets = [...]; public $_style = [...]; public $_metaTags = [...]; public $_engine = NULL; public $_type = 'html'; protected $mediaVersion = '15dbf078d61dbbf76811992dd0143dd9' }; protected $_name = 'itemlist'; protected $_models = ['item' => class K2ModelItem { ... }, 'itemlist' => class K2ModelItemlist { ... }]; protected $_basePath = '/var/www/vhosts/shan.info/httpdocs/components/com_k2'; protected $_defaultModel = 'itemlist'; protected $_layout = 'category'; protected $_layoutExt = 'php'; protected $_layoutTemplate = '_'; protected $_path = ['template' => [...], 'helper' => [...]]; protected $_template = '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category_item.php'; protected $_output = '\n<article class="itemView groupLeading"> \t\n\t\t<time datetime="2013-10-05T21:04:22+02:00">\n\t\t05 Oct\t</time>\n\t\t\t\n\t<section>\t\t\n\t\t<header>\n\t\t\t\t\n\t\t\t\t\t\t<h2>\n\t\t\t\t\t\t\t\t\t\t<a href="/item/556-probleme-de-cookie-suite-à-migration-spip-3.html">probleme de cookie suite à migration SPIP 3</a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</h2>\n\t\t\t\t\t\t\n\t\t\t<ul>\n\t\t\t\t\t\t\t\t<li class="itemCategory"> <span>Published in</span> <a href="/itemlist/category/94-spip.html">SPIP</a> </li>\n\t\'; protected $_escape = 'htmlspecialchars'; protected $_charset = 'UTF-8'; protected $_errors = []; public $baseurl = ''; public $now = '2021-12-03 13:15:26'; public $nullDate = '0000-00-00 00:00:00'; public $category = class TableK2Category { public $id = '94'; public $name = 'SPIP'; public $alias = 'spip'; public $description = ''; public $parent = '0'; public $extraFieldsGroup = '0'; public $published = '1'; public $image = '/components/com_k2/images/placeholder/category.png'; public $access = '1'; public $ordering = '50'; public $params = '{"inheritFrom":"0","theme":"","num_leading_items":"2","num_leading_columns":"1","leadingImgSize":"Large","num_primary_items":"4","num_primary_columns":"2","primaryImgSize":"Medium","num_secondary_items":"4","num_secondary_columns":"1","secondaryImgSize":"Small","num_links":"4","num_links_columns":"1","linksImgSize":"XSmall","catCatalogMode":"0","catFeaturedItems":"1","catOrdering":"","catPagination":"2","catPaginationResults":"1","catTitle":"1","catTitleItemCounter":"1","catDescription":"1","catImage":"1","'; public $trash = '0'; public $plugins = ''; public $language = '*'; protected $_tbl = '#__k2_categories'; protected $_tbl_key = 'id'; protected $_tbl_keys = [...]; protected $_db = class JDatabaseDriverMysqli { ... }; protected $_trackAssets = FALSE; protected $_rules = NULL; protected $_locked = FALSE; protected $_autoincrement = TRUE; protected $_observers = class JObserverUpdater { ... }; protected $_columnAlias = [...]; protected $_jsonEncode = [...]; protected $_errors = [...]; public $metaDescription = NULL; public $metaKeywords = NULL; public $metaRobots = NULL; public $metaAuthor = NULL; public $link = '/component/k2/itemlist/category/94-spip.html'; public $text = ''; public $jcfields = [...]; public $event = class stdClass { ... } }; public $user = class Joomla\CMS\User\User { protected $isRoot = FALSE; public $id = 0; public $name = NULL; public $username = NULL; public $email = NULL; public $password = NULL; public $password_clear = ''; public $block = NULL; public $sendEmail = 0; public $registerDate = NULL; public $lastvisitDate = NULL; public $activation = NULL; public $params = NULL; public $groups = [...]; public $guest = 1; public $lastResetTime = NULL; public $resetCount = NULL; public $requireReset = NULL; protected $_params = class Joomla\Registry\Registry { ... }; protected $_authGroups = NULL; protected $_authLevels = [...]; protected $_authActions = NULL; protected $_errorMsg = NULL; protected $userHelper = class Joomla\CMS\User\UserWrapper { ... }; protected $_errors = [...]; public $aid = 0; public $gid = 1 }; public $feed = 'https://www.shan.info/component/k2/itemlist/category/94-spip.html&format=feed'; public $leading = [0 => class stdClass { ... }]; public $primary = []; public $secondary = []; public $links = []; public $params = class Joomla\Registry\Registry { protected $data = class stdClass { ... }; protected $initialized = TRUE; public $separator = '.' }; public $pagination = class Joomla\CMS\Pagination\Pagination { public $limitstart = 0; public $limit = 14; public $total = 1; public $prefix = ''; public $pagesStart = 1; public $pagesStop = 1; public $pagesCurrent = 1; public $pagesTotal = 1; public $hideEmptyLimitstart = FALSE; protected $viewall = FALSE; protected $additionalUrlParams = [...]; protected $app = class Joomla\CMS\Application\SiteApplication { ... }; protected $data = NULL }; public $item = class stdClass { public $id = '556'; public $title = 'probleme de cookie suite à migration SPIP 3'; public $alias = 'probleme-de-cookie-suite-à-migration-spip-3'; public $catid = '94'; public $published = '1'; public $introtext = '<ul style="font-family: \'Trebuchet MS\', Helvetica, sans-serif; font-size: 16px; line-height: normal;">\r\n<li style="margin: 0px; padding: 0px;">\r\n<div id="forum251947" class="reponse" style="margin: 0px; padding: 0px; border-width: 1px; border-style: dotted solid; border-color: #cccccc #b9a5bf; font-size: 0.9em;">\r\n<div class="question_titre" style="margin: 0.5em; padding: 0.5em; background-color: #d7afd8; border: none;"><a style="color: #444444; font-size: 0.96em;" href="http://forum.spip.net/fr_251'; public $fulltext = ''; public $video = NULL; public $gallery = NULL; public $extra_fields = '[]'; public $extra_fields_search = ''; public $created = '2013-10-05 19:04:22'; public $created_by = '63'; public $created_by_alias = ''; public $checked_out = '0'; public $checked_out_time = '0000-00-00 00:00:00'; public $modified = '0000-00-00 00:00:00'; public $modified_by = '0'; public $publish_up = '2013-10-05 19:04:22'; public $publish_down = '0000-00-00 00:00:00'; public $trash = '0'; public $access = '1'; public $ordering = '1'; public $featured = '0'; public $featured_ordering = '0'; public $image_caption = ''; public $image_credits = ''; public $video_caption = ''; public $video_credits = ''; public $hits = '2438'; public $params = class Joomla\Registry\Registry { ... }; public $metadesc = ''; public $metadata = 'robots=\nauthor='; public $metakey = ''; public $plugins = ''; public $language = '*'; public $categoryname = 'SPIP'; public $categoryid = '94'; public $categoryalias = 'spip'; public $categoryparams = '{"inheritFrom":"0","theme":"","num_leading_items":"2","num_leading_columns":"1","leadingImgSize":"Large","num_primary_items":"4","num_primary_columns":"2","primaryImgSize":"Medium","num_secondary_items":"4","num_secondary_columns":"1","secondaryImgSize":"Small","num_links":"4","num_links_columns":"1","linksImgSize":"XSmall","catCatalogMode":"0","catFeaturedItems":"1","catOrdering":"","catPagination":"2","catPaginationResults":"1","catTitle":"1","catTitleItemCounter":"1","catDescription":"1","catImage":"1","'; public $itemGroup = 'leading'; public $category = class TableK2Category { ... }; public $link = '/item/556-probleme-de-cookie-suite-à-migration-spip-3.html'; public $printLink = '/item/556-probleme-de-cookie-suite-à-migration-spip-3.html?tmpl=component&amp;print=1'; public $tags = [...]; public $imageXSmall = ''; public $imageSmall = ''; public $imageMedium = ''; public $imageLarge = ''; public $imageXLarge = ''; public $rawTitle = 'probleme de cookie suite à migration SPIP 3'; public $author = class Joomla\CMS\User\User { ... }; public $text = '<ul style="font-family: \'Trebuchet MS\', Helvetica, sans-serif; font-size: 16px; line-height: normal;">\r\n<li style="margin: 0px; padding: 0px;">\r\n<div id="forum251947" class="reponse" style="margin: 0px; padding: 0px; border-width: 1px; border-style: dotted solid; border-color: #cccccc #b9a5bf; font-size: 0.9em;">\r\n<div class="question_titre" style="margin: 0.5em; padding: 0.5em; background-color: #d7afd8; border: none;"><a style="color: #444444; font-size: 0.96em;" href="http://forum.spip.net/fr_251'; public $event = class stdClass { ... }; public $jcfields = [...]; public $image = ''; public $imageWidth = '600' } }, $method = 'display', $id = ???, $wrkarounds = ??? ).../BaseController.php:663
130.22743056496K2ViewItemlist->display( $tpl = ??? ).../ViewController.php:102
140.25865767912K2ViewItemlist->display( $tpl = NULL ).../view.html.php:1407
150.25865767912K2ViewItemlist->loadTemplate( $tpl = NULL ).../HtmlView.php:230
160.25925844736include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category.php ).../HtmlView.php:701