› Forums › NextScripts API Forums – Google+, Pinterest, LinkedIn, etc.. › Publishing on Google+ URL, error json_decode using JSON_BIGINT_AS_STRING
- This topic has 2 replies, 1 voice, and was last updated 9 years, 8 months ago by LeandroSe.
- AuthorPosts
- March 13, 2015 at 3:01 pm #391348LeandroSeParticipant
PHP 5.5.9 using Built-In Server
NextScript Version: 2.15.64 (Jan 28, 2015)I can post new messages, but when I put a URL is the error below:
Warning: json_decode(): option JSON_BIGINT_AS_STRING not implemented
#0 [internal function]: Symfony\Component\Debug\ErrorHandler->handleError(2, ‘json_decode(): …’, ‘/home/pciconcur…’, 143, Array)
#1 /home/pciconcursos/Projetos/Symfony/vendor/pci/redesocial/src/Pci/RedeSocial/Publisher/postToGooglePlus.php(143): json_decode(‘?[[[“lpd”,1,[[“…’, true, 512, 2)
#2 /home/pciconcursos/Projetos/Symfony/vendor/pci/redesocial/src/Pci/RedeSocial/Publisher/postToGooglePlus.php(175): nxsAPI_GP->urlInfo(‘https://www.pcic…’)
#3 /home/pciconcursos/Projetos/Symfony/vendor/pci/redesocial/src/Pci/RedeSocial/Provedor/GooglePlus.php(49): nxsAPI_GP->postGP(‘Foi publicada a…’, ‘https://www.pcic…’)
#4 /home/pciconcursos/Projetos/Symfony/vendor/pci/redesocial/src/Pci/RedeSocial/Publicador/Publicador.php(223):Testing:
php > var_dump(json_decode(“[123456789123456789123456789123456789]”, true, 512, JSON_BIGINT_AS_STRING));
PHP Warning: json_decode(): option JSON_BIGINT_AS_STRING not implemented in php shell code on line 1
PHP Stack trace:
PHP 1. {main}() php shell code:0
PHP 2. json_decode() php shell code:1
array(1) {
[0] =>
int(9223372036854775807)
}March 13, 2015 at 3:05 pm #391357LeandroSeParticipantDetails:
$ php –version
PHP 5.5.9-1ubuntu4.6 (cli) (built: Feb 13 2015 19:17:11)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick RethansMarch 16, 2015 at 7:05 am #393443LeandroSeParticipantResolved, apparently problem with the namespace of my project.
- AuthorPosts
- You must be logged in to reply to this topic.