A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: lookbehind assertion is not fixed length at offset 0

Filename: geshi/geshi.php

Line Number: 2486

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2486
Function: preg_match

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

Untitled - Stikked
From Denim Parakeet, 10 Years ago, written in QML.
Embed
  1. import QtQuick 2.4
  2. import Thing 1.0
  3.  
  4. ActionSelectionPopover {
  5.     id: actionPopover
  6.     property var msg
  7.     actions: ActionList {
  8.  
  9.         Action {
  10.             text: qsTr("Delete")
  11.             onTriggered: {
  12.                 Client.deleteMessage(msg.messageId)
  13.             }
  14.         }
  15.  
  16.         Action {
  17.             visible: msg.canBeRestored
  18.             text: qsTr("Restore to %1").arg(msg.previousFolderName)
  19.             onTriggered: {
  20.                 Client.restoreMessage(msg.messageId)
  21.             }
  22.         }
  23.     }
  24.  
  25.     delegate: ListItem {
  26.         height: action.visible ? layout.height : 0
  27.         visible: action.visible
  28.         ListItemLayout {
  29.             id: layout
  30.             title.text: action.text
  31.             title.font.weight: Font.Normal
  32.         }
  33.         onClicked: {
  34.             action.trigger()
  35.             actionPopover.close()
  36.         }
  37.     }
  38. }