( ! ) Warning: Invalid argument supplied for foreach() in /var/www/vhosts/inkyfada.com/httpdocs/wp-content/plugins/inkube/src/Shortcodes/MostReadedArticles.php on line 155 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 363832 | {main}( ) | .../index.php:0 |
2 | 0.0002 | 364528 | require( '/var/www/vhosts/inkyfada.com/httpdocs/wp-blog-header.php ) | .../index.php:17 |
3 | 0.4056 | 35260360 | require_once( '/var/www/vhosts/inkyfada.com/httpdocs/wp-includes/template-loader.php ) | .../wp-blog-header.php:19 |
4 | 0.4084 | 35249000 | include( '/var/www/vhosts/inkyfada.com/httpdocs/wp-content/themes/inkyfada/index.php ) | .../template-loader.php:106 |
5 | 0.4215 | 35433504 | Inkube\Blog\BlogModule->render( ) | .../index.php:4 |
6 | 0.4216 | 35435704 | Inkube\Renderer\Renderer->render( $view = '@theme/genre/single/default', $data = ['view' => '@theme/genre/single/default', 'data' => class Inkube\Model\Term { public $id = 2296; public $type = 'genre'; public $term = class WP_Term { ... }; public $changedMetas = [...]; public $changedAttrs = [...] }], $inline = ??? ) | .../BlogModule.php:53 |
7 | 0.4221 | 35455584 | Inkube\Renderer\Template->render( $data = ['view' => '@theme/genre/single/default', 'data' => class Inkube\Model\Term { public $id = 2296; public $type = 'genre'; public $term = class WP_Term { ... }; public $changedMetas = [...]; public $changedAttrs = [...] }] ) | .../Renderer.php:164 |
8 | 0.4222 | 35465864 | do_shortcode( $content = '[import file="@theme/widgets/header-default.html" color="#1A171B"][/import]\n\n<div class="clear py-2 mt-4 mb-5 archive-genre col-12 ">\n\t<div class="row justify-content-center ">\n\t\t<div id="post-{{post.ID}}" class="col-11 col-md-11 col-lg-9 d-flex justify-content-center align-items-center flex-column la-mb-st archive-genre-mobile-contents">\n\t\t\t<div class="row justify-content-center flex-column align-items-center mb-4 w-100 archive-inkyfada archive-inkyfada-genre">\n\t\t\t\t<span class="section-title fs-64px cl-ti'..., $ignore_html = ??? ) | .../Template.php:168 |
9 | 0.4223 | 35481728 | preg_replace_callback( $regex = '/\\[(\\[?)(if|import|mostreaded|posts|tr|newsletter)(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*+(?:\\[(?!\\/\\2\\])[^\\[]*+)*+)\\[\\/\\2\\])?)(\\]?)/', $callback = 'do_shortcode_tag', $subject = '[import file="@theme/widgets/header-default.html" color="#1A171B"][/import]\n\n<div class="clear py-2 mt-4 mb-5 archive-genre col-12 ">\n\t<div class="row justify-content-center ">\n\t\t<div id="post-{{post.ID}}" class="col-11 col-md-11 col-lg-9 d-flex justify-content-center align-items-center flex-column la-mb-st archive-genre-mobile-contents">\n\t\t\t<div class="row justify-content-center flex-column align-items-center mb-4 w-100 archive-inkyfada archive-inkyfada-genre">\n\t\t\t\t<span class="section-title fs-64px cl-ti'... ) | .../shortcodes.php:228 |
10 | 0.4891 | 36208928 | do_shortcode_tag( $m = [0 => '[mostreaded container_class="mb-2 archive-genre-most-readed-posts row d-flex" term="Data Stories" isSingle="true"]\n\t\t\t\t{\n\t\t\t\t\t"query":{\n\t\t\t\t\t\t"tax_query":[\n\t\t\t\t\t\t\t{"numberposts":4, "term":["Data Stories"], "taxonomy":"genre"}\n\t\t\t\t\t\t]\n\t\t\t\t\t},\n\t\t\t\t\t"view":"@theme/post/card/archive-genre-most-readed"\n\t\t\t\t}\n\t\t\t[/mostreaded]', 1 => '', 2 => 'mostreaded', 3 => ' container_class="mb-2 archive-genre-most-readed-posts row d-flex" term="Data Stories" isSingle="true"', 4 => '', 5 => '\n\t\t\t\t{\n\t\t\t\t\t"query":{\n\t\t\t\t\t\t"tax_query":[\n\t\t\t\t\t\t\t{"numberposts":4, "term":["Data Stories"], "taxonomy":"genre"}\n\t\t\t\t\t\t]\n\t\t\t\t\t},\n\t\t\t\t\t"view":"@theme/post/card/archive-genre-most-readed"\n\t\t\t\t}\n\t\t\t', 6 => ''] ) | .../shortcodes.php:228 |
11 | 0.4892 | 36209664 | Inkube\Core\Interfaces\Shortcode->render( $atts = ['container_class' => 'mb-2 archive-genre-most-readed-posts row d-flex', 'term' => 'Data Stories', 'issingle' => 'true'], $content = '\n\t\t\t\t{\n\t\t\t\t\t"query":{\n\t\t\t\t\t\t"tax_query":[\n\t\t\t\t\t\t\t{"numberposts":4, "term":["Data Stories"], "taxonomy":"genre"}\n\t\t\t\t\t\t]\n\t\t\t\t\t},\n\t\t\t\t\t"view":"@theme/post/card/archive-genre-most-readed"\n\t\t\t\t}\n\t\t\t', 'mostreaded' ) | .../shortcodes.php:356 |
12 | 0.4892 | 36209664 | Inkube\Shortcodes\MostReadedArticles->getHTML( $atts = ['container_class' => 'mb-2 archive-genre-most-readed-posts row d-flex', 'term' => 'Data Stories', 'issingle' => 'true'], $content = '\n\t\t\t\t{\n\t\t\t\t\t"query":{\n\t\t\t\t\t\t"tax_query":[\n\t\t\t\t\t\t\t{"numberposts":4, "term":["Data Stories"], "taxonomy":"genre"}\n\t\t\t\t\t\t]\n\t\t\t\t\t},\n\t\t\t\t\t"view":"@theme/post/card/archive-genre-most-readed"\n\t\t\t\t}\n\t\t\t' ) | .../Shortcode.php:56 |
13 | 0.4892 | 36209664 | Inkube\Shortcodes\MostReadedArticles->renderPosts( $category = 'Data Stories', $limits = 5 ) | .../MostReadedArticles.php:33 |