Skip to content

Instantly share code, notes, and snippets.

View Spoygg's full-sized avatar

Ivan Ivanić Spoygg

View GitHub Profile
$main->add_element('PlainTxt', array(
'columns' => 15,
'id' => 'faq-main-module0-PlainTxt',
'rows' => 4,
'margin_top' => 5,
'margin_left' => 2,
'margin_bottom' => 0,
'margin_right' => 0,
'close_wrapper' => false,
${{ region }}->add_element('{{ elementType }}', array(
'columns' => {{ columns }},
'id' => '{{ region }}-module{{ index }}-{{ elementType }}',
'rows' => {{ rows }},
'margin_top' => {{ margin_top }},
'margin_left' => {{ margin_left }},
'margin_bottom' => {{ margin_bottom }},
'margin_right' => {{ margin_right }},
{[ if (leaveWrapperOpen) { ]}
'close_wrapper' => false,
include_once get_template_directory() . '/library/class_upfront_debug.php';
include_once get_template_directory() . '/library/class_upfront_server.php';
include_once get_template_directory() . '/library/class_upfront_theme.php';
class Issue_Theme extends Upfront_ChildTheme
{
public function initialize() {
// $this->add_actions_filters();
// $this->populate_pages();
$this->add_required_page(
'about',
[2013-09-12 14:15:21] request.CRITICAL: Uncaught PHP Exception Elastica\Exception\ResponseException: "SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[J_rOiEuqTbmdrGCcZgT8Yw][itsmyplay][4]: SearchParseException[[itsmyplay][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"query":"http:"}},"from":0,"size":3}]]]; nested: QueryParsingException[[itsmyplay] Failed to parse query [http:]]; nested: ParseException[Cannot parse 'http:': Encountered "<EOF>" at line 1, column 5.
Was expecting one of:
<BAREOPER> ...
"(" ...
"*" ...
<QUOTED> ...
<TERM> ...
<PREFIXTERM> ...
<WILDTERM> ...
<REGEXPTERM> ...
[
{
'id': 1,
'name': 'timezone name'
},
{
'id': 2,
'name': 'timezone name'
},
{
27 /source:master!? % phpunit -c app src/App/ApiBundle/Tests/Controller/AvatarControllerTest.php
PHPUnit 3.7.22 by Sebastian Bergmann.
Configuration read from /source/app/phpunit.xml.dist
error : No such file or directory
convert.im6: no decode delegate for this image format `/tmp/magick-ZsUFCMxf' @ error/constitute.c/ReadImage/544.
convert.im6: no data returned `http://itsmyplay.dev/app_dev.php/media-store/photos/2/5/f/25f2e7be14d92bf3ec5b9f87e0ae5c4e9c6cfd46' @ error/url.c/ReadURLImage/232.
convert.im6: no images defined `-' @ error/convert.c/ConvertImageCommand/3044.
error : No such file or directory
/**
* @Get("/api/v1/profile/collections", name="api.profile.collections")
*/
public function profileCollectionsAction()
{
$userService = $this->container->get('user_service');
$view = $this->view(
$userService->getProfileCollections(),
200,
array()
1) App\ApiBundle\Tests\Controller\InsightsControllerTest::testFollowersMetric
Exception: Id "" is not found.
/source/src/App/UserBundle/Entity/Lists/CountryRepository.php:55
/source/src/App/DomainBundle/Insights/InsightsService.php:164
/source/src/App/ApiBundle/Tests/Controller/InsightsControllerTest.php:154
PHP Fatal error: Call to a member function getName() on a non-object in /source/src/App/DomainBundle/Tests/ServiceTestCase.php on line 108
PHP Stack trace:
PHP 1. {main}() /source/vendor/phpunit/phpunit/composer/bin/phpunit:0
PHP 2. PHPUnit_TextUI_Command::main() /source/vendor/phpunit/phpunit/composer/bin/phpunit:63
PHP 3. PHPUnit_TextUI_Command->run() /source/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:129
PHP 4. PHPUnit_TextUI_TestRunner->doRun() /source/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:176
PHP 5. PHPUnit_Framework_TestSuite->run() /source/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php:349
PHP 6. PHPUnit_Framework_TestSuite->run() /source/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:705
PHP 7. PHPUnit_Framework_TestSuite->runTest() /source/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:745
PHP 8. PHPUnit_Framework_TestCase->run() /source/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:775
PHP Fatal error: Call to a member function getName() on a non-object in /source/src/App/DomainBundle/Tests/ServiceTestCase.php on line 108
PHP Stack trace:
PHP 1. {main}() /source/vendor/phpunit/phpunit/composer/bin/phpunit:0
PHP 2. PHPUnit_TextUI_Command::main() /source/vendor/phpunit/phpunit/composer/bin/phpunit:63
PHP 3. PHPUnit_TextUI_Command->run() /source/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:129
PHP 4. PHPUnit_TextUI_TestRunner->doRun() /source/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:176
PHP 5. PHPUnit_Framework_TestSuite->run() /source/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php:349
PHP 6. PHPUnit_Framework_TestSuite->run() /source/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:705
PHP 7. PHPUnit_Framework_TestSuite->runTest() /source/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:745
PHP 8. PHPUnit_Framework_TestCase->run() /source/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:775