Git Product home page Git Product logo

contentstack-php's People

Contributors

aravindbuilt avatar contentstack-admin avatar harshithad0703 avatar hiteshbal91 avatar mayankmishra avatar mcarcangiu-ea avatar nandeesh-gajula avatar ondrejfuhrer avatar rohitmishra209 avatar sunil-lakshman avatar uttamukkoji avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contentstack-php's Issues

Rename classes to uppercase.

Linux environment is case sensitive and having the class contestack.php in lower case causes problems when importing the class use Contentstack\Contentstack.

Creation of dynamic property LLAR\Core\CloudApp::$api is deprecated issues after upgrading to php 8.2

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

Issue with Asset class Query method

Issue description

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)

Steps to reproduce the issue

  1. Setup the PHP demo app - using the PR submitted there: contentstack/contentstack-symfony-php-blog-demo#1
  2. Add the current PHP SDK.
  3. Insert your Stack ID and Key.
  4. Run the symphony server and load the page.

What's the expected result?

That the library will load without exceptions.

What's the actual result?

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.

Additional details / screenshot

console-error

web-error

Potential to implement and adhere to more modern PHP standards

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:

  • Conform to using the PSR-4 Autoloading Standard.
  • Implement more complete PHPDoc for everything (over time).
  • Use composer.json file to support autoloading via composer, or non-composer loader file.
  • Update Test Cases to use Autoloading and composer to pull PHPunit dependency
  • Work to apply and enforce PSR-1 and PSR-2 Standards and styles.
  • Setup package in the Packagist repo for easier installs and composer based autoloading.

(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.

PHP Fatal error from broken error reporting methods

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.```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.