Hi @hcabrera , thanks for getting back to me!
For example, this post:
https://viralcheck.pt/?post_type=factos&p=2097
(“Os anticoncepcionais engordam?”)
Is listed in the “populares column”
I suspect that the client published the post, than changed its status to “scheduled”.
Data caching is enabled for WPP only. No other plugins.
Here’s the debug info:
Plugin Configuration
Performance Nag: Inactive
Log Limit: No
Log Views From: Everyone
Data Caching: Yes, 1 minute
Data Sampling: No
External object cache: No
WPP_CACHE_VIEWS: No
System Info
PHP version: 7.3.29-1+0~20210701.86+debian9~1.gbp7ad6eb
PHP extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, enchant, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, imap, interbase, intl, json, exif, mongodb, msgpack, mysqli, odbc, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, apc, posix, readline, recode, shmop, SimpleXML, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, Phar, memcached, ionCube Loader, Zend OPcache
Database version: 10.1.48-MariaDB-1~stretch
InnoDB availability: DEFAULT
WordPress version: 5.8
Multisite: No
Active plugins: Admin Menu Editor 1.9.10, Advanced Custom Fields 5.9.9, Block Lab 1.6.0, Classic Editor 1.6.2, Custom Post Type UI 1.9.2, MalCare Security - Free Malware Scanner, Protection & Security for WordPress 4.63, Password Protected 2.4, Post Type Switcher 3.2.1, Regenerate Thumbnails Advanced 2.4.0, Thumbnail Upscale 1.1, UpdraftPlus - Backup/Restore 1.16.59, WordPress Importer 0.7, WordPress Popular Posts 5.3.6, Yoast Duplicate Post 4.1.2
Yes, I can see your code is only fetching published posts.
-
This reply was modified 3 years, 3 months ago by nunomira.