Jump to content
Дизайн и модификация Invision Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
TemKa_SD

Return value of none returned

Recommended Posts

Понял, из-за

 

    /**
    * @var integer
    */
   protected $gameid;

 

Так и что? у всех переменных убирать это?

Edited by TemKa_SD

Share this post


Link to post

Отлично, некоторые удалил - теперь всё правильно записывает в БД. Если удаляю что-то из этого, то белая страница, почему?

 

    /**
    * @var \DateTime
    */
   protected $scored;
   /**
    * @var \DateTime
    */
   protected $saved;
   /**
    * @var string
    */
   protected $events;

Edited by TemKa_SD

Share this post


Link to post
то белая страница, почему?
На форуме есть несколько тем, в которых рассказывается как узнать, почему белая страница.

Share this post


Link to post

В последней теме было предложено посмотреть логи, так вот, в папке uploads/logs пусто, в папке сервера logs только предупреждения nginx.

post-60255-0-13446700-1535726864_thumb.png

Share this post


Link to post

В последней теме было предложено посмотреть логи, так вот, в папке uploads/logs пусто, в папке сервера logs только предупреждения nginx.

 

Смотрите другие

http://ipbskins.ru/forum/topic1195.html

Share this post


Link to post

Спасибо, отображение ошибок помогло. Почему я не могу использовать функцию private?

IPS\sharedstats\Entity\StatsGamesScored::$id is declared as private. In order to ensure that hooks are able to work freely, please use protected instead. (PHP Coding Standards: Properties and Variables.3)

Share this post


Link to post

Почему я не могу использовать функцию private?

В сообщении же написано.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...