contentstack / contentstack-php Goto Github PK
View Code? Open in Web Editor NEWPHP SDK for Contentstack - Content Delivery API
License: MIT License
PHP SDK for Contentstack - Content Delivery API
License: MIT License
Linux environment is case sensitive and having the class contestack.php in lower case causes problems when importing the class use Contentstack\Contentstack
.
Dynamic properties are deprecated in php 8.2. These will be fatal errors in 9.0.
Just as a point of reference, WP Engine (one of the largest managed WordPress hosts) is force upgrading users from 8.0 to 8.2 so I think this merits a patch asap.
The large number of warnings makes debugging quite difficult.
Deprecated: Creation of dynamic property LLAR\Core\CloudApp::$api is deprecated in /var/www/html/wp-content/plugins/limit-login-attempts-reloaded/core/CloudApp.php on line 43
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\Stack::$live_preview is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/Stack.php on line 76
Deprecated: Creation of dynamic property Contentstack\Stack\Stack::$live_preview is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/Stack.php on line 76
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\Stack::$proxy is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/Stack.php on line 77
Deprecated: Creation of dynamic property Contentstack\Stack\Stack::$proxy is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/Stack.php on line 77
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\Stack::$timeout is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/Stack.php on line 78
Deprecated: Creation of dynamic property Contentstack\Stack\Stack::$timeout is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/Stack.php on line 78
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\Stack::$retryDelay is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/Stack.php on line 79
Deprecated: Creation of dynamic property Contentstack\Stack\Stack::$retryDelay is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/Stack.php on line 79
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\Stack::$retryLimit is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/Stack.php on line 80
Deprecated: Creation of dynamic property Contentstack\Stack\Stack::$retryLimit is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/Stack.php on line 80
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\Stack::$errorRetry is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/Stack.php on line 81
Deprecated: Creation of dynamic property Contentstack\Stack\Stack::$errorRetry is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/Stack.php on line 81
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType.php on line 51
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType.php on line 51
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType/Query.php on line 46
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType/Query.php on line 46
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$contentType is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 58
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$contentType is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 58
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$queryObject is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 59
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$queryObject is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 59
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$json_translate is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 78
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$json_translate is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 78
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType.php on line 51
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType.php on line 51
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType/Query.php on line 46
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType/Query.php on line 46
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$contentType is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 58
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$contentType is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 58
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$queryObject is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 59
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$queryObject is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 59
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$json_translate is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 78
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$json_translate is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 78
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType.php on line 51
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType.php on line 51
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType/Query.php on line 46
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType/Query.php on line 46
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$contentType is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 58
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$contentType is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 58
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$queryObject is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 59
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$queryObject is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 59
[18-Aug-2023 19:37:31 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$json_translate is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 78
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$json_translate is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 78
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType.php on line 51
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType.php on line 51
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType/Query.php on line 46
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType/Query.php on line 46
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$contentType is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 58
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$contentType is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 58
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$queryObject is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 59
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$queryObject is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 59
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$json_translate is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 78
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$json_translate is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 78
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType.php on line 51
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType.php on line 51
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType/Query.php on line 46
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType/Query.php on line 46
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$contentType is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 58
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$contentType is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 58
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$queryObject is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 59
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$queryObject is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 59
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$json_translate is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 78
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$json_translate is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 78
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType.php on line 51
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType.php on line 51
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType/Query.php on line 46
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType/Query.php on line 46
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$contentType is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 58
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$contentType is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 58
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$queryObject is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 59
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$queryObject is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 59
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$json_translate is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 78
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$json_translate is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 78
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType.php on line 51
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType.php on line 51
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType/Query.php on line 46
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$type is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/ContentType/Query.php on line 46
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$contentType is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 58
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$contentType is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 58
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$queryObject is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 59
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$queryObject is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 59
[18-Aug-2023 19:37:32 UTC] PHP Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$json_translate is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 78
Deprecated: Creation of dynamic property Contentstack\Stack\ContentType\Query::$json_translate is deprecated in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php on line 78
As the title implies the current implementation of the Assets class incorrectly defines a Query()
method which collides with the parent classes query($_query = array())
method.
Here is the main text of the exception this throws:
ContextErrorExceptionWarning: Declaration of Contentstack\Stack\Assets\Assets::Query() should be compatible with Contentstack\Stack\ContentType\BaseQuery\BaseQuery::query($_query = Array)
That the library will load without exceptions.
The library loads with exceptions. Potentially this is specific to the version of PHP being used - it's possible that older PHP versions didn't throw and Exception here.
Hello folks of Contentstack,
I'm creating this issue to seek out some insight on the state of this package and potential for improvement. While things worked out of the box (more or less) there were a few things I found that threw me off. First, was the 'more or less' part - in that the Asset model implements a Query
function, but also extends BaseQuery
which has its own query
function. This may not be an issue on every PHP version, but it is for me on PHP7+.
Looking beyond that issue, the other odd things I found were essentially just effects of being used to modern PHP community standards. I can certainly see how some of this may be personal opinions to a degree, however I feel that many of these standards are well accepted and established enough to warrant usage.
Wishlist for this package:
(Essentially in order of priority, IMO)
Overall I think taking steps towards these items would improve the experience of developers working with Contentstack through a PHP environment. The changes will afford most PHP developers a more familiar experience when getting started with Contentstack.
Also to be clear, these are items I'm willing to help work on. I've even already got a fork created that has a number of these tasks completed. The only hangup is that I'm using a trial version of Contentstack - so the time-frame I can assist within is limited.
The following code was working until earlier last week:
$stack_tool = $stack->ContentType( 'connector' )->Query()->toJSON()->containedIn( 'SOMEKEY', 'SOMEVAL' )->find();
and now is resulting in a php fatal error:
PHP Fatal error: Uncaught Exception: value must be an array in .../contentstack/contentstack/src/Support/helper.php:27
The strange thing is the error is coming from an error reporting method (contentstackCreateError
) which doesn't seem set up to handle the types which could be passed to it:
Stack trace:
#0 /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php(775): contentstackCreateError('value must be a...')
#1 /var/www/html/wp-content/themes/unito/includes/cron/update-connectors.php(80): Contentstack\Stack\BaseQuery->containedIn('pcd.provider_na...', NULL)
#2 phar:///usr/local/bin/wp/vendor/wp-cli/eval-command/src/EvalFile_Command.php(83) : eval()'d code(35): Unito\Includes\Cron\UpdateConnectors\refresh_tool_additional_content(Array)
#3 phar:///usr/local/bin/wp/vendor/wp-cli/eval-command/src/EvalFile_Command.php(83): eval()
#4 phar:///usr/local/bin/wp/vendor/wp-cli/eval-command/src/EvalFile_Command.php(57): EvalFile_Command::execute_eval('/var/www/html/....', Array, false)
#5 [internal function]: EvalFile_Command->__invoke(Array, Array)
#6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func(Array, Array, Array)
#7 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array, Array)
#8 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func(Object(Closure), Array, Array)
#9 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(431): WP_CLI\Dispatcher\Subcommand->invoke(Array, Array, Array)
#10 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(454): WP_CLI\Runner->run_command(Array, Array)
#11 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(131): WP_CLI\Runner->run_command_and_exit()
#12 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1202): WP_CLI\Runner->do_early_invoke('before_wp_load')
#13 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
#14 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState))
#15 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()
#16 phar:///usr/local/bin/wp/php/boot-phar.php(20): include('phar:///usr/loc...')
#17 /usr/local/bin/wp(4): include('phar:///usr/loc...')
#18 {main}
thrown in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Support/helper.php on line 27
Fatal error: Uncaught Exception: value must be an array in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Support/helper.php:27
Stack trace:
#0 /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Stack/BaseQuery.php(775): contentstackCreateError('value must be a...')
#1 /var/www/html/wp-content/themes/unito/includes/cron/update-connectors.php(80): Contentstack\Stack\BaseQuery->containedIn('pcd.provider_na...', NULL)
#2 phar:///usr/local/bin/wp/vendor/wp-cli/eval-command/src/EvalFile_Command.php(83) : eval()'d code(35): Unito\Includes\Cron\UpdateConnectors\refresh_tool_additional_content(Array)
#3 phar:///usr/local/bin/wp/vendor/wp-cli/eval-command/src/EvalFile_Command.php(83): eval()
#4 phar:///usr/local/bin/wp/vendor/wp-cli/eval-command/src/EvalFile_Command.php(57): EvalFile_Command::execute_eval('/var/www/html/....', Array, false)
#5 [internal function]: EvalFile_Command->__invoke(Array, Array)
#6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func(Array, Array, Array)
#7 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array, Array)
#8 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func(Object(Closure), Array, Array)
#9 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(431): WP_CLI\Dispatcher\Subcommand->invoke(Array, Array, Array)
#10 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(454): WP_CLI\Runner->run_command(Array, Array)
#11 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(131): WP_CLI\Runner->run_command_and_exit()
#12 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1202): WP_CLI\Runner->do_early_invoke('before_wp_load')
#13 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
#14 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState))
#15 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()
#16 phar:///usr/local/bin/wp/php/boot-phar.php(20): include('phar:///usr/loc...')
#17 /usr/local/bin/wp(4): include('phar:///usr/loc...')
#18 {main}
thrown in /var/www/html/wp-content/themes/unito/libs/contentstack/contentstack/src/Support/helper.php on line 27
Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.