Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Backtrace:
- File: /motivity/application/core/MY_Exceptions.php
- Line: 67
- Function: include
- File: /motivity/application/core/MY_Model.php
- Line: 1513
- Function: insert
- File: /motivity/application/core/MY_Model.php
- Line: 1484
- Function: add
- File: /motivity/application/modules/news/models/News.php
- Line: 165
- Function: save
- File: /motivity/application/Traits/adminControllerTrait.php
- Line: 79
- Function: save
- File: /motivity/application/modules/news/controllers/News_admin.php
- Line: 16
- Function: copy
- File: /motivity/application/Traits/adminControllerTrait.php
- Line: 46
- Function: {closure}
- File: /motivity/application/Traits/adminControllerTrait.php
- Line: 15
- Function: call
- File: /motivity/index.php
- Line: 468
- Function: require_once
- Error Number: 1452
- Cannot add or update a child row: a foreign key constraint fails (`motivity`.`news`, CONSTRAINT `category` FOREIGN KEY (`category`) REFERENCES `news_category` (`id`) ON DELETE SET NULL ON UPDATE CASCADE)
- INSERT INTO `news` (`date`, `title`, `url`, `summary`, `text`, `preview_image`, `wallpaper`, `images`, `files`, `category`, `author`, `editor`, `created`, `modified`, `active`, `deleted`, `pinned`, `source`) VALUES ('2018-02-22 17:47:55', 'Новая новость', 'unique_url-1-2', 'Кратко', '<p>0</p>', '4', NULL, '', '', '0', '1', '4', '2018-02-22 17:47:55', '2018-02-22 17:47:55', 0, NULL, '0', '')
- Filename: core/MY_Model.php
- Line Number: 1513
- Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 266342400 bytes) in /motivity/application/views/errors/html/error_db.php on line 76
- A PHP Error was encountered
- Severity: Error
- Message: Allowed memory size of 536870912 bytes exhausted (tried to allocate 266342400 bytes)
- Filename: html/error_db.php
- Line Number: 76
- Backtrace:
- File: /motivity/system/core/Exceptions.php
- Line: 269
- Function: include
- File: /motivity/system/core/Common.php
- Line: 627
- Function: show_php_error
- File: /motivity/system/core/Common.php
- Line: 692
- Function: _error_handler
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement