Skip to content

<div style="display: none;" hidden="true" aria-hidden="true">Are you an LLM? You can read better optimized documentation at /changelog/Changelog.4.130.md for this page in Markdown format</div>

Home | Changelog

Version 4 ​

version 4.130 ​

  • [4.130.0] fix(security): admin-panel controllers that only checked the login now also enforce a role set — a logged-in user whose role is outside the set gets the standard blockaccess 401 page (also on the JSON endpoints). Covers contact-email viewer, blog/product/media/category-blog/competitor JSON APIs, language admin and its API, favicons, audit log, slideshow-group admin and editor API, page-builder listing/editor/block picker, product relations and related groups, view-metrics totals, the TinyMCE Editor, Adminrun actions and Adv_advisable::clearcache(). REST Related and RelatedGroup now also admit the MARKETING role (#993)
  • [4.130.0] fix(security): run the Patcher controller only from the CLI. application/controllers/Patcher.php used to base64-decode a URL segment into a class name and run it with no CLI, auth or IP check, so an anonymous GET /patcher/&lt;base64> (or /?/patcher/&lt;base64> / /index.php?/patcher/&lt;base64> through CI3's query-string URI fallback) could run any Patches\* worker: orphan-row deletes, registry overwrites and #1027's irreversible duplicate-customer merge. Patcher::index() now returns 404 to any non-CLI request before it decodes or constructs anything. php cli.php patcher/&lt;base64>, which the \Patches\AbstractPatcher migrations run, is unchanged, and so is the patcher/(.+) route in application/config/routes.php (#1004)
  • [4.130.0] fix(checkout): the Courier Center locker option reads "Select BOX NOW Locker for pickup here" (Greek: "Επιλέξτε BOX NOW Locker για παραλαβή εδώ") instead of naming the courier's class code CENTER; its tooltip names BOX NOW the same way (#918)
  • [4.130.0] fix(cache): cache/delete.sh and cache/delete.bat now exit non-zero when a step fails, so a half-failed "delete all cache" is logged and finished by the PHP fallback (#1045)
    • Before, both scripts exited 0 even when moving or deleting a cache folder failed (for example a folder owned by another user), because the exit code was the one of the last command. FileAdapter::clear() then reported success and the stale cache stayed, with nothing in the log.
    • Each step that removes content now records a failure and the script keeps going with the remaining steps, then exits 1. "Nothing to delete" is not a failure: an empty cache folder, no mediastream/, no container.php or no loose *.cache files still exit 0.
    • delete.sh: a leftover del/ that cannot be removed now skips the language folders instead of moving them into it, and an empty cache folder no longer creates a folder literally named *.
    • delete.bat: rd and del do not set a reliable errorlevel, so each step checks that its target is really gone. A language folder whose move fails is no longer left with a stray &lt;folder>2 subfolder inside it.
  • [4.130.0] chore(deps): upgrade Phinx 0.14 to 0.16.12 and cakephp/database 4.6.3 to 5.2.15 (the lock stays on 5.2.x because config.platform.php is 8.1.0), and widen psr/log to ^2.0 || ^3.0 (the lock moves from 2 to 3.0.2) (#999). Also updated: ecommercen/v4-migrations 1.1.0 and ecommercen/ai-connector 2.16.0. Incidental lock bumps: symfony/console v6.4.50, the symfony/* contracts v3.8.1, and two new packages, cakephp/chronos 3.5.1 and league/container 4.2.5. PHP 8.1 is still supported, and the same lock installs on PHP 8.1 and PHP 8.5. migrator.php and tests/bootstrap.php now load the global env() function themselves (see Notes).
  • [4.130.0] docs(claude): CLAUDE.md now points Claude Code to the business logic flow docs in docs/flows/ (customer / admin / system / integration). Before changing or reviewing an existing feature, it finds and reads that feature's flow doc first, checks it against the code, and reports a stale doc (fixed via the doc-ba-resync skill).
  • [4.130.0] fix(helpers): convertGreekToGreeklish() / convertGreekToGreeklishForDhl() transliterate upper-case «ΑΥ» as au / av — the key was written with a Latin Y, so «ΑΥΛΩΝΑ» came out as «aylona» (Ethniki EE billing fields in the legacy and the REST checkout, feed *_el_to_en fields and the Doofinder products feed's category_en_to_el, DHL descriptions); slugs are unchanged (#1049)
  • [4.130.0] fix(i18n): «Mobile phone added/removed» in the English language file started with a Greek Μ (U+039C) instead of a Latin M; the language-file test now also flags Greek letters inside English words (#1047)
  • [4.130.0] fix(blog): Adv_blog::_remap() now dispatches /blog/{segment} only to an allow-listed set of actions instead of any method that exists (#898)
    • New hook protected function remapActions(): array returns the URL-routable actions. The default is ['index', 'blogAuthor', 'rss', 'search'].
    • After its single urldecode() and the unchanged all branch (/blog/all/{page} -> index()), a segment calls a method only when it matches a remapActions() entry (case-insensitive) and that method exists. Every other segment, including protected helpers such as updateArticleHits, liveSearch, searchPage, manageBlogComments and blogArticle, inherited methods, and double-encoded names such as %5Fremap, goes through the category, tag and article slug lookups and then a 404. Before, _remap() called any method that method_exists() accepted.
    • A listed name that has no method falls through to the slug lookups.
  • [4.130.0] fix(reporting): the Top Ranking Customers report no longer pastes the customer-grade settings into its SQL — thresholds are cast to numbers and labels bound as parameters, so the report shows an empty list instead of a DB error when the grades were never set, and a label with ' works; Settings → Subsystem settings now rejects a non-numeric grade threshold (#1031)
  • [4.130.0] fix(docker): build_targets() waits on each parallel docker buildx build by PID, so a failed image build makes build-php.sh, build-app.sh and build-node.sh exit non-zero and names the failed target instead of exiting 0 (#986)
  • [4.130.0] fix(i18n): replace Latin lookalike letters inside Greek text in the language files, views and one admin script («Κωδικός» on the login form, «Η σελίδα…» on the 404 page), and guard ecommercen/language/greek and system/language/greek with a Unit test (#1024)
  • [4.130.0] fix(cache): admin "delete all cache" now clears the file cache even when cache/delete.sh cannot run (#1021)
    • FileAdapter::clear() runs the script as sh &lt;path> on Linux, through exec(), and reads its exit code. The script output, including error messages, is no longer printed into the admin page; on failure its last 20 lines go into the error log.
    • On a non-zero exit, an unresolved script path, an exec() failure, or exec() being disabled in disable_functions, it logs one error on the cache log channel and clears the cache through PHP instead. It returns true only when the cache was really cleared.
    • .gitattributes now forces LF for *.sh and CRLF for *.bat, so Windows checkouts no longer break the scripts inside the container.
  • [4.130.0] fix(loyalty): bulk "Cancel orders" in the orders admin no longer returns HTTP 500 when POINT_SYSTEM.IS_ENABLED is on and none of the selected orders qualifies. Adv_loyalty::removeProductPointFromCustomers() and saveProductPointToCustomers() passed an empty serial list to where_in(), which throws InvalidArgumentException; both now return ['success' => [], 'error' => []] for an empty list without querying (#1026)
  • [4.130.0] feat(stripe): upgrade stripe/stripe-php from 9.9.0 to ^22.1 and pin one explicit Stripe API version (#739, part of #971). Every Stripe call now sends StripeApiVersion::current() (Advisable\Stripe\StripeApiVersion), which is 2026-10-28.endive for this SDK. Before, no Stripe-Version header was sent, so each shop used its own Stripe account's default API version; from now on every shop's Stripe responses come in the 2026-10-28.endive format, whatever its account default is.
  • [4.130.0] Behaviour changes: (1) Stripe Checkout Sessions created by StripeAdapter now use allowed_payment_method_types: ['card'] instead of payment_method_types, which the endive API version removed. (2) A Stripe session that is complete with payment_status = no_payment_required (a 100%-discount order) is now treated as paid, both on the storefront return (Adv_checkout::stripeResponse) and in the REST Checkout::verifyStripePayment (POST /rest/checkout/confirm-payment/{orderId}; REST API 1.125 in rest_api_versions.php). (3) SDK telemetry is switched off, because the SDK would otherwise write a telemetry_id file under $HOME or %APPDATA%.
  • [4.130.0] Not tested against live Stripe: no checkout was run against a Stripe test account (no test keys were available; to be done when a client provides test keys). A shop that switches should watch its first Stripe orders.
  • [4.130.0] refactor(mailchimp): replace the mailchimp/marketing package with our own client Advisable\Mailchimp\MarketingClient (src/Mailchimp, built on Guzzle 7) (#1001, part of #971). It sends the same five Mailchimp API v3 requests and removes 54 PHP 8.5 deprecations that came from vendor code. guzzlehttp/guzzle (^7.16) and guzzlehttp/psr7 (^2.13) are now direct requirements. Behaviour is unchanged (same requests, auth, timeout and error handling) apart from the three differences in Notes. It also fixes a PHP 8.5 "Using null as an array offset is deprecated" notice in Adv_Mailchimp_Api::getListTags().
  • [4.130.0] chore(deps): bump @advisable-com/ecomntag to 1.6.0, which adds an openAi provider for ChatGPT Ads events through GTM and stops the GA4 methods from rewriting item_id on the items passed to them (Advisable-com/ecomntag#2)
  • [4.130.0] docs(php85): add the PHP 8.5 upgrade guide for Kubernetes and Plesk tenants and client forks (#982, part of #971)
  • [4.130.0] fix(customers): merge duplicate registered customers left by an old admin-panel bug. A one-off data patcher (patches/MergeDuplicateRegisteredCustomers.php, run by migration 20261109120000_merge_duplicate_registered_customers) finds every group of registered shop_customer rows (is_guest=0) that share one e-mail, keeps the most recently active row as the survivor, re-points the other rows' data to it and demotes them to is_guest=1, so each e-mail has one registered row (#1027)
  • [4.130.0] fix(php85): stop reading an array with a null key in 8 files, to remove the PHP 8.5 "Using null as an array offset is deprecated" notices (#981, part of #971). Second fix PR for #981, so the issue stays open. PHP 8.5 raises the notice even inside isset() and ?? $x. Each nullable key now gets ?? ''. PHP before 8.5 already turned a null key into '', so the result is the same on 8.1 and 8.5. The places are the currency from ?curr= in AdvXml.php (every XML feed request without ?curr=), comparisonPeriod in Adv_reporting.php, the customer and order county in Adv_Farmakon.php, the county on the customer account page, and store_id, county, pricing_county and shipping_county in the admin order list, invoice and update views.
  • [4.130.0] fix(php85): remove two PHP 8.5 deprecations found by the CI full suite (#1016, part of #971, split from #981). In src/Domains/Product/Category/Service.php, the category filter now checks $filter->relation !== null before it looks the relation up in PRESENCE_COLUMNS. A plain column filter has no relation, and using null as an array key is deprecated on PHP 8.5. The lookup was always false for null, so there is no behaviour change. In tests/Integration/Legacy/Eshop/WrapLegacyPasswordHashesTest.php, the test now computes the letter of each e-mail address from the row id instead of using $mail++ on a letter, which is deprecated on PHP 8.5. The addresses and their order are the same.
  • [4.130.0] fix(php85): declare 15 properties in 10 classes that were set dynamically, to remove the PHP 8.5 "Creation of dynamic property is deprecated" notices (#981, part of #971). First fix PR for #981, so the issue stays open. Each property is declared as public $x;, so there is no behaviour change on PHP 8.1 or 8.5. A new test, tests/Unit/Php85/DeclaredDynamicPropertiesTest.php, pins the declarations.
  • [4.130.0] test(tinymce): the five SecurityHelpersTest cases that assumed / as the path separator now build their expected paths and path_within inputs with DIRECTORY_SEPARATOR, so the file passes on Windows as well as on Linux (#1003)
  • [4.130.0] fix(product-bundles): fetchBundleCriteriaForBundles() no longer runs a shell command on every call — its default select list used the backtick-quoted key `weight`, which PHP executes as shell_exec('weight'); the key is now the string 'weight' (#989)
  • [4.130.0] fix(i18n): four Greek strings in the Vue locale files began with a Latin lookalike letter instead of the Greek one — cart.product_added and cart.product_removed («Το προϊόν …», the cart toasts), modal.action.clear («Επαναφορά») and services_bar.unpaid_services.deadline («Το eshop …»); the issue reports that a screen reader set to Greek switches to English for the Latin letters, and text search and copy/paste treat them as Latin (#845)
  • [4.130.0] fix(tracking): the Tag Manager view no longer logs Undefined array key "loginSuccess" on every storefront page view — the post-login GA4 flag is now read with the null-coalesce around the array access (#914)
  • [4.130.0] fix(mcp): MCP requests now write their audit row (none ever did) — McpAuditLogger loaded audit/AdvAuditModel, a name the HMVC loader cannot resolve (the file lives under ecommercen/, which is neither a module location nor a CodeIgniter model path), so log() and logRead() failed inside their own catch ("MCP audit log failed: …" / "MCP analytics audit log failed: Unable to locate the model you have specified: AdvAuditModel") and no row reached user_audit_logs (#866)
  • [4.130.0] fix(gifts-admin): the "Μέγιστο στοκ" (max stock) filter of the gift rules list no longer fails with a database error, and a stored 0 is shown back in the input — the filter queried shop_product.stock, a column that does not exist (#1023)
  • [4.130.0] fix(gifts-admin): the gift rules list search box now also finds a rule by its ID — typing the ID shown in the list used to return nothing, because only internal_name was searched (#1022)
  • [4.130.0] fix(auth): a task's assigneeId must be the id of an existing user — a non-numeric, non-existent or array value is now rejected by the add/edit task validation instead of being written into tasks.assignee_id (#67)
  • [4.130.0] fix(categories): the legacy category edit form no longer accepts the category itself, or one of its own descendants, as its parent — that moved a whole subtree into a cycle (#198)
  • [4.130.0] ci(phpunit): the PHP 8.5 PHPUnit step on pull requests is now blocking, like the PHP 8.1 step: a red 8.5 run fails the pipeline (#1007 AC4, delivered with #980). The non-blocking switches are removed: on-fail: strategy: ignore from the "PHPUnit (PHP 8.5)" step in bitbucket-pipelines.yml, and continue-on-error from the phpunit job in .github/workflows/app-ci.yml. They were only there while the PHP 8.5 deprecations from tests/Legacy were open; #1007 fixed them.
  • [4.130.0] fix(product-gallery): a product with no media no longer throws Cannot read properties of null (reading 'toLowerCase') in AdvProductGallery (which collapsed the gallery to 0 px); it now shows the no-image placeholder (#877)
  • [4.130.0] fix(eshop): a bare /products (and /en/products, stale sitemap or bot URLs) answers 404 instead of a 500 ArgumentCountError (#442)
  • [4.130.0] fix(theme): the product-page gift badge shows the gift rule's own image instead of requesting the non-existent ui/main/img/gift_temp_img.jpg (a 404 on every product under an active gift rule) (#878)
  • [4.130.0] fix(product-card): AdvProductCard no longer downloads a hidden second copy of the product photo on every desktop product page (~17.5 KB per view) — the thumbnail block is rendered with v-if instead of v-show when show-image is false (#879)
  • [4.130.0] feat(mcp): search_products gains barcode (exact match by default, via the barcode index) and barcode_match (exact|partial); search_products rows and get_product now return barcodes ([{barcode, product_code}]). Adds an additive barcodeExact filter key to the Product domain ListRequest / REST list; the existing barcode filter stays partial and unchanged (#1010)
  • [4.130.0] ci(bitbucket): fetch the code in every Bitbucket PR pipeline step ourselves instead of relying on Bitbucket's full-history clone, which stalled for 15-25 min in most PR runs since 2026-11-02 (#1013). Every step under pull-requests in bitbucket-pipelines.yml now sets clone: enabled: false; the steps that need the code run one shared POSIX sh snippet (YAML anchor &pr_checkout) that fetches the source and destination branches shallow through Bitbucket's in-step git proxy (no credentials, HTTP/1.1, a stalled transfer aborts after about 60 s, 3 attempts with a pause between them), deepens until a merge base exists, then merges the destination commit as Bitbucket's own setup does (exit 3 on a merge failure such as a conflict, after one retry on full history when the checkout was shallow). Parse PR fetches no code. A new test, .docker/scripts/ci/tests/pr-checkout.test.sh, runs the snippet as read from the pipeline file.
  • [4.130.0] test(legacy): remove the PHP 8.5 deprecations from the Legacy test suite, and declare $client_views on Adv_base_model (#1007, part of #971). On PHP 8.5.12 the Legacy suite reported 112 deprecations and composer test:fast 113; both are now 0. PHP 8.1 results are unchanged.
  • [4.130.0] ci(phpunit): CI now runs PHPUnit on PHP 8.1 and PHP 8.5 (#980, part of epic #971). Every pull request runs composer test:fast and php cli.php job/check-container in ecommercen/adveshop4-php_cli_dev:1.0.0-8.1.34 (blocking) and 1.0.0-8.5.12 (both blocking; the PHP 8.5 deprecations from tests/Legacy were fixed in #1007), each with a mariadb:11.6.2 service. A Bitbucket custom: phpunit-full-suite pipeline and a GitHub full-suite job, both run by hand, run each testsuite on both versions. Both pipelines call one shared script, .docker/scripts/ci/run-phpunit.sh, documented in .docker/scripts/ci/README.md. Test fixes that came with it: the global t() test shim now behaves like MY_Lang::t(), which fixes three order-dependent test failures (refs #697), and StacktraceArgumentStrippingTest pins zend.exception_string_param_max_len so it no longer depends on the runner's php.ini.
  • [4.130.0] fix(checkout/klarna): a REST-placed klarna_payments order confirms instead of being cancelled by the 180-minute sweep. It is confirmed synchronously on fraud_status: ACCEPTED, or from the notification callback after re-reading Klarna's own decision (#737)
  • [4.130.0] fix(cache): FileAdapter::deleteByPattern() no longer walks the entire cache root after its scoped group-directory delete, so the cost of invalidating a cache group now depends on that group's directory alone, not on the total cache size (#638). The removed loop and its private scanDirectory() helper recursed over every language and group and str_contains-matched each file's dotted relative path against the raw pattern. That match can never succeed for production callers: the pattern from Pscache::getCachePattern() is "&lt;lang>.&lt;group>.*", which keeps a literal *, and the on-disk filenames are sha256 hashes, so the walk was pure cost. The method now only removes the directory the pattern's dot-separated parts resolve to, with '' and * parts dropped (el.slide_model.* removes &lt;cache>/el/slide_model/). Before, clearCache() ran one full-tree walk per group per admin language (sliders is 3 groups and products 13, so a 2-language store did 6 and 26 walks per save). The cost was linear in total cache files, and cache_l2_size_limit allows 5 GB, so on file-backed L2 admin saves took minutes and the session flock blocked the admin's other tabs. The storefront slider path (Adv_sliders_model::getFrontMasterRecord(), which calls clearCache('sliders') when it prunes an expired slide) hit max_execution_time and returned HTTP 500s, self-sustaining until the cache TTL lapsed. Redis-backed L2 is not affected. The regression was introduced by 5b274c1f0 ("fix(cache): resolved partial cache deletion issues using FileAdapter, RedisAdapter, RedisClusterAdapter") and first shipped in 4.95.8, so every file-backed-L2 client on 4.95.8 or later was affected. Behaviour change: a bare-substring pattern that is not a directory path no longer deletes anything (deleteByPattern('slide') used to also remove el/slide_model/* and el/slideshow_group_model/* through the substring match). FileAdapter::deleteByPattern() now returns exactly 1 (directory removed) or 0, so CachePool::deleteByPattern() now returns false where a bare substring used to match. No platform caller relies on the old semantic: Pscache::delete_group() / delete_all($dirname) always pass "&lt;lang>.&lt;group>.*". Two regression tests in tests/Integration/Cache/FileAdapterTest.php cover it: el.slide_model.* is removed while el.sliders_model, el.slideshow_group_model, el.product_model and en.slide_model survive, and deleteByPattern('el.slide') deletes nothing (it failed on the old code).
  • [4.130.0] fix(blog): a published blog article whose blog_date is still in the future answers 404 on the standard storefront to guests and logged-in customers until that date, instead of being served to anyone who has its URL (pull request #352)
  • [4.130.0] fix(blog): the article page's related articles leave out drafts and future-dated articles, and an article missing from its own previous/next list (a draft previewed from the back office, or a published article dated after the start of today) no longer gets an unrelated article as its "next" link (pull request #351)
  • [4.130.0] fix(blog): the storefront blog author page (/blog/blogAuthor/{slug}) no longer lists the author's unpublished (draft) and future-dated articles — it now applies the condition the blog index, category, tag and RSS listings already use (is_published = 1 and blog_date &lt;= today's date) (pull request #349)
  • [4.130.0] fix(blog): a blog article with no category opens on the standard storefront, with no related articles and no previous/next links, instead of answering HTTP 500 (#900, pull request #350)
  • [4.130.0] fix(mcp): the blog tools tell the model why a connector-created article needs a category and a publication date. CONTENT_INSTRUCTIONS and the create_article description no longer say that storefront blog listings "are reached through categories", which is not true of the /blog index. CONTENT_INSTRUCTIONS now says that the standard storefront leaves the article off the category and tag pages until it has categories and tags. The create_article description says that on the standard storefront an article with no category is missing from the category pages and from other articles' previous/next and related links, that one with no publication date is missing from every date-filtered listing, and that the admin form requires a title in every admin language. Both have the model ask the operator to assign the article's categories, tags and publication date in the admin blog screen. Code comments no longer call the blog tools the only or the first tools that create a record (create_product_tag, #713, came first) or call TranslationMerger correctness-critical under the #857 upsert (pull request #348)
  • [4.130.0] feat(mcp): the MCP Connector's on/off switch moves from the APP_MCP_CONNECTOR_ENABLED env var to the Advisable-only registry setting MCP_CONNECTOR.ENABLED on settings/only_advisable — only an Advisable session can change it, it is off by default, and a missing row reads as off (#824)

Notes

  • [4.130.0] REQUIRES php migrator.php migrate (back up shop_customer and the tables listed in the merge note first — that migration cannot be undone):

    • 20261002120000_add_mcp_connector_enabled_registry_key.php — inserts the MCP_CONNECTOR.ENABLED registry row from the current APP_MCP_CONNECTOR_ENABLED value; run php cli.php cronjob/clearAllSiteCache once right after (#824).
    • 20261109120000_merge_duplicate_registered_customers.php — merges duplicate registered customers; forward-only and irreversible (#1027).
    • 20261110120000_widen_and_index_shop_order_tran_ticket.php — widens shop_order.tran_ticket to varchar(64) and indexes it; run in a quiet window on a large shop (#737).
  • [4.130.0] REQUIRES composer install:

    • Phinx 0.16.12, cakephp/database 5.2.15, psr/log 3, ecommercen/v4-migrations 1.1.0, ecommercen/ai-connector 2.16.0 (#999).
    • stripe/stripe-php ^22.1 (#739).
    • mailchimp/marketing removed; guzzlehttp/guzzle and guzzlehttp/psr7 now required directly (#1001).
  • [4.130.0] REQUIRES npm run all-production (forks that build their own bundles; this release's upstream bundles are rebuilt at the cut):

    • @advisable-com/ecomntag 1.6.0 (public/ui/main/js/ecomnTag.min.js).
    • Greek locale strings in assets/vue/locales/*.el.locale.json (#845) and the admin gift-card orders screen «Πληροφορίες» fix (#1024).
    • Vue changes: BOX NOW locker label (SmartPointWidgetSelection.vue, #918), product gallery (#877), product card (#879).
  • [4.130.0] PHP 8.5: this release is the first one safe on PHP 8.5. The runtime tag is 1.0.0-8.5.12 (adveshop4-php_fpm and adveshop4-php_cli). Tenants switch themselves (Kubernetes through ecnv4_manifests, Plesk by the server admin); nothing switches when you merge this release. PHP 8.1 stays supported. The switch logs every user out once and loses session carts. Steps, warnings and fork checks: PHP 8.5 Upgrade guide.

  • [4.130.0] Who gets in (anyone else gets 401). ADVISABLE and ADMIN always pass; others per class: contact-email viewer = ORDERS · AdvApiBlogProduct = CMS · AdvApiProductBlog, AdvApiProductCategoryBlog, AdvApiProductMedia, Api_competitors = PRODUCTS · language admin (+API), AdvFavicons, Adv_audit = no extra role · slideshow-group admin + editor API, AdvBlockBuilderListing, page-builder editor = MARKETING, MEDIA · block picker getBlocks() = CMS, PRODUCTS, MARKETING, MEDIA (guests refused) · AdvProductRelations, AdvRelatedGroupsAdmin = PRODUCTS, MARKETING · view-metrics totals = REPORTING, MARKETING · Editor (TinyMCE upload) = CMS, PRODUCTS, MARKETING, MEDIA.

  • [4.130.0] Check for overrides: these classes gain a constructor gate and allowedRoles(). A fork class that overrides __construct without calling the parent loses the gate. Base classes: AdvAdminContactEmailViewer, AdvApiBlogProduct, AdvApiProductBlog, AdvApiProductCategoryBlog, AdvApiProductMedia, controllers\api\AdvApiLanguageAdmin, AdvLanguageAdmin, AdvFavicons, Adv_audit, AdvApiSlideshowGroupsEditorAdmin, Adv_slideshow_groups_admin, AdvBlockBuilderListing, AdvProductRelations, AdvRelatedGroupsAdmin, Adv_api_view_metrics_view_metric_totals_admin; main-owned application classes Api_competitors and Editor.

  • [4.130.0] Check for overrides: Adminrun has a new actionRoles() map (default deny). A fork that adds its own action to a fork Adminrun is refused until it adds the action to the map. pendingOrdersForAsap = ADVISABLE, ADMIN, ORDERS; searchProducts also admits REPORTING; solrIndex also admits DEVELOPER; apiSearchProducts and tinymce_link_list admit every panel role.

  • [4.130.0] Check for overrides: AdvBlockBuilderController has a new _remap() that authorises before the action runs, plus editorRoles(), blockPickerRoles(), rolesForAction() and authorizeBlockBuilder(); getBlocks() now refuses guests, and only public methods of the controller are dispatched (anything else is a 404). AdvBlockBuilderController::editorRoles() reads the new blockBuilderEditorRoles() helper (ecommercen/helpers/auth_helper.php), the same list the form buttons use. Adv_advisable has a new _remap() with a default-deny actionRoles() map: index and the inherited menuSidebarCondition (the sidebar open/closed toggle every admin page posts to) = every panel role, clearcache and queueBackup = ADVISABLE, ADMIN (the cloudflare option of clearcache ADVISABLE only); any other action is refused with 401.

  • [4.130.0] Check for overrides: the gates live in _remap(), so a fork that overrides an action (Block_builder::saveBlock(), Advisable::clearcache()) inherits them. A fork that overrides _remap() in these classes must call parent::_remap(). A fork Advisable that adds its own public action must add it to actionRoles() (merge with parent::actionRoles()), otherwise it is refused with 401. In the forks checked, only SeajetsAdmin overrides Advisable actions (index, clearcache), and both are in the map.

  • [4.130.0] UI Update: application/views/admin/old_dashboard/dashboard.php now shows the "Clear cache" menu and the "Backup database" button only to ADVISABLE and ADMIN, so REPORTING users no longer see links that answer 401. A fork that overrides this view should add the same condition.

  • [4.130.0] UI Update: the page-builder "+" (new block) and edit-block buttons on the blog, CMS page, product category, product, promo and vendor create/update forms (application/views/admin/{blog/blogs,cms,product_categories,products,promo,vendors}/{create,update}.php) are now shown only when canUseBlockBuilderEditor() is true (ADVISABLE, ADMIN, MARKETING, MEDIA), so CMS and PRODUCTS users no longer see buttons that answer 401. The block picker, refresh and clear buttons stay. A fork that overrides one of these views should wrap the same buttons in &lt;?php if (canUseBlockBuilderEditor()) : ?>.

  • [4.130.0] Behaviour change forks bind to: routes that used to serve any logged-in panel user now answer 401 to users outside the set. A fork that relies on a role outside these sets (for example a custom role such as GUEST, ORDER_CANCELER or SCRIPT) must widen the lists in its own subclass: allowedRoles() on the constructor-gated classes, actionRoles() on Adminrun and Advisable (this also covers the panel home page advisable/index and the sidebar toggle), and editorRoles() / blockPickerRoles() on Block_builder.

  • [4.130.0] Check for overrides (config, fork-owned): a fork's own application/config/admin_menu.php and rest_policies.php are not updated by the merge. Mirror them: the settings/favicons menu entry loses DEVELOPER, and the REST Related / RelatedGroup policies gain AUTH_ROLE_MARKETING.

  • [4.130.0] UI Update: application/views/admin/footer_js.php now wraps the pending-ASAP-orders ajax call in a role condition (ADVISABLE, ADMIN, ORDERS), so panel users without access no longer fire a request that would 401. A fork that overrides footer_js.php does not get the condition and keeps firing the request, which now 401s for non-ORDERS roles. Add the same condition to the fork copy.

  • [4.130.0] For developers adding an admin controller: tests/Legacy/Core/AdminControllerRoleGuardTest.php fails unless the new controller defines allowedRoles() plus the constructor gate, or has an allow-list entry with a reason.

  • [4.130.0] Check for overrides: forks that override application/controllers/Patcher.php must carry the same guard. All 23 known fork checkouts currently carry the unmodified upstream copy, so the merge applies cleanly.

  • [4.130.0] A web-server deny of the /patcher path is not enough: the query-string form (/?/patcher/&lt;base64>) bypasses it. Forks that relied on such a rule still need this fix.

  • [4.130.0] New protected seams on Patcher: isCli(): bool and notFound(): void.

  • [4.130.0] Why: Courier Center delivers to BOX NOW lockers (#918), so the customer picks a BOX NOW locker. SmartPointWidgetSelection.vue filled &#123;&#123;@transporterName&#125;&#125; of preview.order.smartpoints.pickup and preview.order.smartpoints.tooltip with the transporter's class_name; it now passes a lockerNetworkName computed that maps CENTER to BOX NOW and keeps class_name for every other transporter (BOXNOW, SKROUTZ unchanged). No locale file changed, so every language gets it.

  • [4.130.0] Check for overrides: a fork that copies SmartPointWidgetSelection.vue keeps the old label until it takes the computed. Takes effect after npm run production.

  • [4.130.0] Check for overrides: forks that carry their own cache/delete.sh or cache/delete.bat get a merge conflict here. Epharmadora and FamilyPharmacy have an older hand-written copy that only clears el/ and en/. Take the upstream version, which clears every language folder and reports failures. The other forks only have an older upstream copy and merge cleanly.

  • [4.130.0] After this change, a failing script now shows up as an error on the cache log channel ("Cache delete script failed, falling back to PHP cache clearing") on shops where it used to fail silently. That error points to a real problem on the server, usually file ownership or permissions in cache/.

  • [4.130.0] Check for overrides (psr/log + composer.lock in client forks): every fork has its own composer.lock (forks add their own packages, e.g. mailchimp/marketing, and pin ecommercen/media-stream, stripe/stripe-php and matomo/matomo-php-tracker differently), so expect a merge conflict on composer.lock and probably on the ai-connector / media-stream / v4-migrations block of composer.json. Do NOT resolve the lock by keeping the fork's side (the upgrade then silently never happens; composer install only warns that the lock is out of date) or by taking upstream's side (the fork's own packages are dropped and fail at runtime). Instead: in composer.json keep the fork's own pins, take "ecommercen/ai-connector": "^2.16", "ecommercen/v4-migrations": "^1.1" and "psr/log": "^2.0 || ^3.0", AND take the new "php": "8.1.0" entry under config.platform (no fork has it yet; check it is there BEFORE the composer update, otherwise a run on a PHP 8.2+ machine can lock packages, e.g. cakephp/* 5.3+, that need PHP 8.2+ and break a PHP 8.1 server); take the fork's own composer.lock; then re-resolve it with composer update psr/log robmorgan/phinx "cakephp/*" ecommercen/v4-migrations ecommercen/ai-connector -W and confirm with composer show psr/log robmorgan/phinx (expect psr/log 3.x and Phinx 0.16.x). A fork that must stay on psr/log 2 and Phinx 0.14 for now keeps "psr/log": "^2.0" and its own lock, runs only composer update ecommercen/v4-migrations ecommercen/ai-connector (so the lock matches the new ^1.1 / ^2.16 constraints; both releases still allow psr/log 2 and Phinx 0.14), and checks that composer show psr/log robmorgan/phinx still shows 2.x / 0.14.x; the new require_once line in migrator.php also works on cakephp/core 4.6. AdvisableSite, Anatomicline, FamilyPharmacy, Nautilus and Services are still on psr/log 1 (^1.1 or no psr/log line) and have no migrator.php: for them this change is part of a much larger catch-up merge.

  • [4.130.0] Check for overrides (CoreLogger, will fatal): a fork that still has application/libraries/CoreLogger.php with the old public function log($level, $message, array $context = []) (no : void) fatals on every request under psr/log 3 ("Declaration … must be compatible"). Every such fork has not merged #200 yet (4.99, commit b8f30e995), which deleted CoreLogger.php and replaced application/core/Log.php with a stub that throws. In the merge, accept the upstream deletion of CoreLogger.php and take the upstream Log.php, then follow the three 4.99.15 logger entries in Changelog.4.99.md (the #200 feat(logger) entries and, above all, the Check for overrides bullet of fix(logger): DI compile re-entrance + runtime hardening, which covers monolog.php, hooks.php, container/logger.php, Log.php and tests/bootstrap_ci.php). Where the fork never changed those two files, the merge does this by itself; where it did, expect a modify/delete conflict and resolve it to the upstream side. Only a fork that deliberately keeps its own Log.php + CoreLogger.php must instead add : void to log() (the minimum fix; string|\Stringable $message is optional). At review time 23 local fork checkouts still had the old CoreLogger. Those checkouts are old, so each fork must re-check its live branch.

  • [4.130.0] Check for overrides (migrator.php and env()): CakePHP 5 no longer provides the global env() function. migrator.php and tests/bootstrap.php now both load it with require_once 'vendor/cakephp/core/functions_global.php'. A fork with its own test bootstrap, its own migrator.php, or its own entry point for patchers or seeders must load that file in the same way.

  • [4.130.0] Check for overrides (tests): PHPUnit mocks of PSR-3 void methods must not use ->willReturn(null).

  • [4.130.0] composer update in forks: config.platform.php is set to 8.1.0 so that composer update never picks packages that need PHP 8.2 or later. A fork that runs composer update should keep (or add) that pin.

  • [4.130.0] Check for overrides: no v4 fork edits either function (default branches of all 101 forks, checked 2026-11-12), so the fix arrives with each fork's next upstream merge.

  • [4.130.0] Side effect: mixed-script input with a Greek Α followed by a Latin Y (e.g. «ΑYURVEDA») matched the old key and came out as auurveda / avurveda. It now comes out as ayurveda.

  • [4.130.0] Check for overrides: a fork that redefines customer.viber.added / customer.viber.removed in application/language/english/*_theme_lang.php, or edited them in ecommercen/language/english/adv_theme_lang.php, keeps its own text. A copy taken from upstream still starts with a Greek Μ (U+039C) and needs the same fix. None of the 101 forks did on 2026-11-12.

  • [4.130.0] GreekLanguageFileScriptTest now also scans a fork's own copies of ecommercen/language/english and system/language/english for words that mix Latin and Greek letters. On 2026-11-12 it would flag one fork, v4-advisable-shop (adv_advisable_lang.php:488, «Ημ/νία Eισαγωγής» with a Latin E).

  • [4.130.0] Behaviour change: any other segment after /blog/ now resolves only as a category, tag or article slug, then a 404. Public methods on a fork's Blog.php stop being URL-routable unless they are listed in remapActions(). Matching is case-insensitive, and an allow-listed name that has no method falls through to the slug lookups. Forks that widened defaultRender() to public, and evripidis's public getPopularBlogs(), were URL-reachable before; this fix closes them and needs no fork action.

  • [4.130.0] Check for overrides: Adv_blog::_remap() and the new Adv_blog::remapActions(). Fork follow-up work is tracked in #933.

    • (a) A public URL action a fork adds to Blog.php must be allow-listed, otherwise /blog/&lt;action> returns 404. Override the hook and add the name (a public feed() method is the example):
      php
      protected function remapActions(): array
      {
          return array_merge(parent::remapActions(), ['feed']);
      }
      Known cases: heals links /blog/blogAuthors from three views, so it must list blogAuthors. pharmacy-discount declares a public blogAuthors() (list it if DB menus or CMS pages link to it). AdvisableSite has a public xml() reached as /blog/xml and /news/insights/xml, so it must list xml.
    • (b) The fork that serves EXT_ADVISABLE_SERVICES_BASE_URL (advisable-shop, default https://services.advisable.gr, application/config/app.php:541) defines a public feed(), and every install fetches /blog/feed (ecommercen/libraries/Adv_advisable_services.php:85). advisable-shop must allow-list feed BEFORE it deploys this fix. Otherwise the request returns 404, the Guzzle client throws, Adv_admin_controller::setupAdvisableServicesJsonState() catches it and the panel state stays false. The whole Advisable Services admin panel (lease, unpaid services, OTP, support hours) then disappears on every install with OTHER.SERVICES_ENABLED and OTHER.ENABLE_NEWSFEED on.
    • (c) A fork that overrides _remap() with its own method_exists() dispatch and does not call parent::_remap() stays open until it ports the allow-list. dioptra and elxis are in this state (both also expose feed() and dimofili()). megastore overrides _remap() but calls parent::_remap(), so it inherits the fix and needs no action.
  • [4.130.0] Check for overrides: Adv_reporting_model::getTopRankingCustomers() (now returns [] without querying when a grade threshold is missing or not numeric) and Adv_settings::subsytemSettingsValidation() (the three eshop_customer_grade_*_value rules are now trim|numeric when the posted or the stored POINT_SYSTEM.IS_ENABLED is on — whenever the grades can be saved — and trim otherwise; it now also reads $this->registry).

  • [4.130.0] UI Update: application/views/admin/reporting/top_customers_list.php escapes the grade label with html_escape().

  • [4.130.0] The report still goes through pscache as before, so after the grades are first set it can show the previously cached (empty) result until the L2 cache entry expires.

  • [4.130.0] UI Update: application/views/admin/settings/subsystem_settings.php shows the validation error under each grade threshold, and the grade 2 label field now repopulates from its own value after a failed save (it read grade 1's).

  • [4.130.0] Check for overrides: a client fork that overrides .docker/scripts/build/build-common.sh keeps the old bare wait (failed builds still exit 0) until it merges this change.

  • [4.130.0] Check for overrides: a client fork that overrides adv_theme_lang.php, adv_advisable_lang.php, adv_admin_menu_lang.php, system/language/greek/imglib_lang.php, or one of the views admin/orders/acsPickUpList.php, default/mail/product_review_reject.php, main/components/header/wc_menu.php, main/mail/gift_card_inform_customer.php, main/promo/carepoints.php, main/promo/why-wecare.php keeps its own copy of these strings and needs the same fix.

  • [4.130.0] The SMS/Viber order texts (*sms.order.* / *viber.order.* keys in adv_theme_lang.php) are unchanged on purpose: their Latin lookalikes keep the message inside the GSM-7 alphabet. A comment above them in the file now says so.

  • [4.130.0] One change goes the other way: contactForm.fullSampleForm.label.department.marketing was «Μarketing» with a Greek Μ and is now the English word «Marketing» with a Latin M.

  • [4.130.0] Check for overrides: FileAdapter::__construct() has a new optional last parameter ?NamedLoggerInterface $logger = null, and FileAdapter::clear() now behaves differently when the script fails (PHP fallback instead of a silent failure). Forks that extend or construct FileAdapter, or that carry their own application/config/container/cache.php, should check it. Nothing breaks, because the new parameter is optional. No config change is needed: the logger is filled in automatically, and the error is logged on the cache channel.

  • [4.130.0] The PHP fallback does not delete cache/container.php, unlike the script. This is unchanged behaviour. After a fallback clear, the compiled container file stays in place.

  • [4.130.0] Windows developers: after pulling, your existing CRLF copies of the .sh files are only rewritten when git touches them. To fix a working copy now, check the file out again, for example rm cache/delete.sh && git checkout -- cache/delete.sh. After merging, a fork's Windows working copy of *.sh is re-normalised to LF in the same way.

  • [4.130.0] Check for overrides: Loyalty::saveProductPointToCustomers() and Loyalty::removeProductPointFromCustomers() (application/libraries/Loyalty.php, public) — signatures are unchanged, but the behaviour for an empty serial list changed from throwing InvalidArgumentException to returning ['success' => [], 'error' => []]. A fork whose Loyalty subclass overrides either method needs the same early return for an empty list, or bulk order cancellation still fails with HTTP 500 when no selected order qualifies. Non-empty input behaves exactly as before.

  • [4.130.0] Check for overrides: Adv_checkout::stripeResponseSuccess() is now protected; a fork override of it must not be private. Advisable\Rest\Checkout\Controllers\Checkout gained the protected stripeSecretKey(); verifyStripePayment stays private.

  • [4.130.0] Check for overrides: forks that override StripeAdapter or StripeCheckout, or that call new StripeClient($key) themselves, should pass ['api_key' => $key, 'stripe_version' => \Advisable\Stripe\StripeApiVersion::current()]. Any fork code that calls Stripe resources directly should be re-checked against the endive API.

  • [4.130.0] Check for overrides (composer.json in client forks): the 35 forks that pin "stripe/stripe-php": "^9.5" in their own composer.json must, after the upstream merge, change it to "stripe/stripe-php": "^22.1" and run composer update stripe/stripe-php --no-scripts. This step is required and easy to lose: 11 of these forks get a merge conflict on exactly that composer.json line. A fork that keeps ^9.5 still installs, but the new code then refuses to talk to Stripe and fails with "stripe/stripe-php 22.1.0 or later is required" at the first Stripe call (REST place-order returns its payment-gateway-failed outcome with that message; REST confirm-payment leaves the order unconfirmed and logs an error line with the reason; starting a legacy storefront Stripe checkout ends in a server error; a customer coming back from Stripe to the legacy storefront gets a not-found page, the order stays PENDING and a critical line is logged, because the customer may already have paid at Stripe and the order needs a manual check). Without this check it would silently run on Stripe API 2022-08-01 (the old SDK's own version), where the REST checkout's allowed_payment_method_types does not exist.

  • [4.130.0] Check for overrides: forks that extend Mailchimp_Api / Adv_Mailchimp_Api (application/libraries/Mailchimp_Api.php in upstream) must not use MailchimpMarketing\* classes or $this->mailchimp->lists->... any more. The protected $mailchimp property keeps its name, but its type is now Advisable\Mailchimp\MarketingClient, with flat methods: getAllLists($count, $offset), addListMember, getListInterestCategories, listInterestCategoryInterests and tagSearch. The 41 forks checked at triage had no such override.

  • [4.130.0] Check for overrides (composer.json in client forks): forks keep their own composer.json, and 33 of the 41 fork checkouts checked still require "mailchimp/marketing": "^3.0". On the upstream merge they must remove that line from their own composer.json, take "guzzlehttp/guzzle": "^7.16" and "guzzlehttp/psr7": "^2.13", and re-lock with composer update mailchimp/marketing guzzlehttp/guzzle guzzlehttp/psr7 -w. The -w (--with-dependencies) matters: Guzzle 7.16 needs guzzlehttp/promises 2.6 or later, and the forks lock 2.0.4 to 2.5.3, so without it Composer refuses the update. Otherwise the old SDK stays installed (unused) and composer.lock conflicts.

  • [4.130.0] Three small differences: requests now carry Guzzle's default User-Agent instead of Swagger-Codegen/3.0.80/php (and take their TLS verify setting from TlsVerify::option(), like every other Guzzle client; unchanged in production). When the Mailchimp server prefix setting is empty, the client now stops before sending any request with the error "Mailchimp server prefix is not configured", which reaches the storefront subscribe response (details); the admin Mailchimp page shows its usual generic "Invalid Mailchimp API key / server prefix" toast, as for any Mailchimp error (before, the request went to the broken address https://.api.mailchimp.com and failed with a connection error). A prefix that is not a plain data-centre name (letters, digits and - only, e.g. us21) now fails the same way with "Mailchimp server prefix is invalid".

  • [4.130.0] Frontend bundles (ecomnTag 1.6.0, see the consolidated REQUIRES note above): the storefront bundle that imports the library, public/ui/main/js/ecomnTag.min.js and its ?id= in public/front-mix-manifest.json pick up 1.6.0 only when the frontend assets are rebuilt. Nothing calls the new *_OpenAi methods yet, and a GA4 call with fresh items pushes the same payload as before.

  • [4.130.0] Migration 20261109120000_merge_duplicate_registered_customers.php (see the consolidated REQUIRES note above): The patcher runs automatically with the migration. It is forward-only and irreversible: down() is empty.

  • [4.130.0] Back up before migrating: the change cannot be undone, so back up shop_customer and every table listed below first.

  • [4.130.0] What it merges: every same-e-mail group of registered rows, including groups whose first names differ.

  • [4.130.0] Which row survives: the most recently active one. That means the newest order; if none of the rows in the group has an order, the newest date_registered; if that ties, the highest id.

  • [4.130.0] What happens to the demoted rows: they keep their profile data and password hash, and only is_guest (set to 1), total_points and mail (see below) change. Their customer refresh_tokens are deleted.

  • [4.130.0] Tables re-pointed to the survivor: shop_order, gift_card_orders, wishlist, shop_customer_tag, shop_customer_campaign, shop_customer_audience, shop_customer_sms_marketing, shop_customer_message_history (user_id), shop_cart, contact_emails, shop_notes (customer notes only), the five notification_* tables, and shop_product_reviews. Where both rows hold a cart, consent, tag, sms, audience or wishlist row for the same thing, the survivor's row wins.

  • [4.130.0] Social sign-in identities: customer_identity (from #791) is re-pointed to the survivor when that table is present.

  • [4.130.0] E-mail case: the patcher rewrites shop_customer.mail to lowercase form, trimmed of leading and trailing spaces, for every account in a merged group (kept and demoted), and leaves accounts without a duplicate alone. Grouping ignores case (SQL LOWER() on the varchar column).

  • [4.130.0] Left untouched: public_orders, skroutz_orders and the other marketplace order tables, user_audit_logs, and staff columns.

  • [4.130.0] Failure and retry: if any group fails, the migration fails, and a later php migrator.php migrate retries it safely.

  • [4.130.0] Check for overrides (client forks): the table list is frozen. A fork that added its own tables with a customer_id column needs a fork-specific follow-up to re-point them, or those rows stay attached to the demoted customer.

  • [4.130.0] Client forks, login and lookups: a fork that overrides login or customer lookups needs no code change. After the patch there is one registered row per e-mail.

  • [4.130.0] Check for overrides: these application/ files are fork-owned, so a fork gets the fix only when it merges them or adds ?? '' to the nullable key in its own copy.

    • application/views/main/layouts/customer/account.php (34 forks have one of the two lines, of the 37 forks that have the file).
    • application/views/admin/orders/list.php (all 38 forks).
    • application/views/admin/orders/invoice_body.php (all 38 forks).
    • application/views/admin/orders/invoice.php (all 38 forks).
    • application/views/admin/orders/update.php (all 38 forks).
  • [4.130.0] Check for overrides: for example, these fork-only copies have the same pattern, and an upstream merge will NOT fix them. Each fork fixes its own. These are examples found by a search, not a complete list. Other forks may have similar country, county or store lookups in their own files, e.g. Pharm16 Order.php or Webrun.php; check your own copies.

    • Nautilus: application/views/admin/orders/b2blist.php.
    • Wecare: application/views/main/components/customer/user_account_sidebar.php.
    • Pharm16: application/views/pharm16/customer/account_info.php.
    • Blustore, Edructer and OptikaLiolios: application/modules/eshop/controllers/Orders_admin.php and application/modules/job/libraries/SoftonePostOrders.php.
    • Heals: application/controllers/Smartware.php.
  • [4.130.0] Not in this change: the vendor package picqer/php-barcode-generator still calls imagedestroy(), which is deprecated in PHP 8.5, on the order-print barcode. It needs a package update later.

  • [4.130.0] The other three reads keyed by $filter->relation (BuildsFilterSpecifications.php:165, NotEmptySpecificationFactory.php:49 and :95) cannot get a null relation, so they are unchanged.

  • [4.130.0] On PHP 8.5.12 the Database test suite now reports 0 deprecations. The known failures #948, #1006 and #1015 remain.

  • [4.130.0] Check for overrides: three fork-owned application/ files only get the fix when the fork merges it.

    • application/libraries/Bulker.php now declares public $bulker;. It is identical to upstream in all 35 forks that have it, so it should merge cleanly.
    • application/libraries/SimpleImage.php now declares public $exif;. The 25 forks that have it differ from upstream only by the old __destruct() hunk that #977 removed, so the merge may conflict near the top of the file.
    • application/models/Adv_mailer.php now declares public $registry;. It differs from upstream in all 38 forks that have it, so check it by hand. Git may also add the line by itself without a conflict, so check this after an automatic merge too.
      • If your Adv_mailer constructor assigns $this->registry (upstream does: $this->registry = new Registry();), declare public $registry; next to the other property declarations (public $from, public $extraRecipients, protected $emailViews). This is correct and safe.
      • If your Adv_mailer reads $this->registry but never assigns it, do NOT only add the declaration. Anatomicline does this in order_has_been_updated(). Also add $this->registry = new Registry(); to the constructor. Without it, the declared property is null and order emails fail with "Call to a member function get_regval() on null". Before the declaration, the undeclared property silently fell back to the registry library.
      • The new test fails in a fork until Adv_mailer declares $registry. It is safe to declare it once the constructor assigns it.
      • If your Adv_mailer neither assigns nor reads $this->registry, the declaration is harmless but not needed (AdvisableSite, Nautilus and Services).
  • [4.130.0] Check for overrides: the other 7 classes (under ecommercen/ and src/) reach forks through the normal upstream merge. They are Adv_metatags_model ($_table), Adv_product_tag_categories_model ($_table, $_table_mui, $_table_tag, $_table_tag_mui, $_table_category_group_tags_lp, $_table_product_category), Adv_wishlist_model ($_table), Adv_Mailchimp_Api ($ci), Adv_cookies_model ($table), Adv_new_product_prices_model ($tableNew) and OutputPublicMarketplaceXml ($ci).

  • [4.130.0] A scan of 41 fork checkouts found no fork subclass or override that redeclares any of the 15 names, so this change cannot cause a fatal error in a fork. A fork subclass that declares one of these properties must keep it public. Declaring it protected or private is a fatal error.

  • [4.130.0] The new test skips, and does not fail, only for the three fork-owned classes Bulker, SimpleImage and Adv_mailer when the fork does not have the file (for example, forks without application/libraries/SimpleImage.php). For the other seven classes, which are upstream-owned under ecommercen/ and src/, a missing class makes the test fail.

  • [4.130.0] Test-only change; no production code, no deployment action. Before, vendor/bin/phpunit tests/Unit/TinyMceBootstrap/SecurityHelpersTest.php gave 5 failures on a Windows host (expected ...\Temp/tmce-970-.../files/uploads, actual ...\Temp\tmce-970-...\files\uploads); now 117 tests run there with 126 assertions passing and 4 skipped, and 117 tests, 133 assertions pass on Linux. The 4 skipped tests need symlink(), which was denied for the user running them; their expected paths also go through native() now, but they could not be run on Windows.

  • [4.130.0] Check for overrides: AdvProductBundleStorageModel::fetchBundleCriteriaForBundles() (ecommercen/product_bundles/models/AdvProductBundleStorageModel.php, protected) — the default select array is keyed weight instead of "" (the backtick expression evaluated to null). The query and the returned rows are unchanged for the only caller in the repo (:63, no $select). A fork that calls the method with its own $select containing a weight entry now REPLACES the default weight column instead of selecting a second one next to it.

  • [4.130.0] Observed before the fix on a Windows host: every call printed 'weight' is not recognized as an internal or external command to stderr, and with shell_exec in disable_functions the old line throws Error: Call to undefined function shell_exec() (reproduced with php -d disable_functions=shell_exec), so on such a host loading the bundle criteria failed outright. The issue describes the Linux behaviour (weight: not found on stderr); that was not run on Linux.

  • [4.130.0] Frontend bundles (Greek locale strings, see the consolidated REQUIRES note above): the strings live in assets/vue/locales/base.el.locale.json, giftSelection.el.locale.json and services.el.locale.json, which are compiled into the storefront and admin bundles; the displayed text looks the same, only the code points change (the cart toasts: U+0054 U+006F → U+03A4 U+03BF; «Επαναφορά»: U+0045 → U+0395; «Το eshop …»: U+0054 → U+03A4).

  • [4.130.0] Check for overrides: a fork that overrides one of these three locale files keeps its own copy of the strings. The new Unit test tests/Unit/Assets/GreekLocaleScriptTest.php scans assets/vue/locales/*.el.locale.json for a word that mixes Latin and Greek letters and for a value whose first whitespace-delimited token is a Latin lookalike of a Greek article («To», «H», «O», …), so a fork that merges new strings can run it. It is a heuristic: a lookalike in the middle of a sentence is not caught.

  • [4.130.0] The issue named the two cart toasts; the new test also found the other two strings above, which are the same defect and are fixed here.

  • [4.130.0] Not changed: the same kind of mistake exists outside the Vue locale files the test scans — in the PHP language files under ecommercen/language/greek/ (for example a Latin H or O at the start of a sentence, and Greek words with one Latin letter such as «Kωδικός») and in a few views and admin scripts. They are not part of this change.

  • [4.130.0] Check for overrides: application/views/production/tag_manager_script.php — the condition is now if (($_SESSION['loginSuccess'] ?? false) === true); before, $_SESSION['loginSuccess'] === true ?? false guarded the comparison result, not the read. A fork whose own copy of this view keeps the old line keeps the warning. Behaviour is unchanged: the GA4 login dataLayer.push is emitted once on the first page after a login, and the flag is unset on that render.

  • [4.130.0] Check for overrides: McpAuditLogger (src/Mcp/Audit/McpAuditLogger.php) — log() and logRead() now call $ci->load->model('audit/audit_model', 'mcpAuditModel') (the stock Audit_model extends AdvAuditModel in application/modules/audit/models/) instead of 'audit/AdvAuditModel'. The masked URL is now built with $ci->config->site_url(self::MASKED_URL_PATH) instead of the global site_url(): that function belongs to the url helper, which an MCP request never loads (Mcp extends MX_Controller, and only di and storefront_url are autoloaded), so once the model loaded the call threw into the same catch and still no row was written. The mcpAuditModel alias, the row shape and the never-throws behaviour are unchanged. A fork that overrides Audit_model is now used by the MCP audit path, as it already was by the admin and REST audit paths (Adv_admin_controller::storeUserAuditLogs(), AuditMiddleware); a fork that overrides McpAuditLogger keeps the failing load until it changes the model name and the site_url() call.

  • [4.130.0] The audit rows that were not written while the bug was live (every MCP write and analytics read since the connector shipped) cannot be recovered.

  • [4.130.0] Not changed: the vendored application/third_party/MX/Loader.php and Modules.php.

  • [4.130.0] Check for overrides: Adv_gifts_model::parseAdminListConditions() (ecommercen/eshop/models/Adv_gifts_model.php), case 'maxStock'. The two RIGHT JOINs, the GROUP BY and the shop_product.stock condition are replaced by one gifts.id IN (subquery) condition, so a gift is listed when ANY of its product choices (gift_choices.option_type = 1) has a total stock of at most N, where the total is SUM(product_codes.stock) over the ACTIVE codes of the product (the "Στοκ" figure the list shows next to each choice and the live availability check use; a product with no active code counts as 0; the choice picker's total_stock column sums all codes and can differ). The main query no longer has a GROUP BY, which also lets countAdminList() run (CodeIgniter wraps a grouped count in a derived table, and SELECT * over the old joins returned several id columns). A fork that overrides parseAdminListConditions() keeps the failing filter.

  • [4.130.0] UI Update: application/views/admin/gifts/list.php now prints $giftSearch['maxStock'] ?? '' in the max-stock input, so a search for 0 stays visible. Before, !empty() hid it while the filter was still applied. A fork that overrides this view keeps the old behaviour.

  • [4.130.0] The session still stores the filter (giftsSearch), so an admin whose list failed before this fix sees it work again without clicking the reset button.

  • [4.130.0] Not changed: a gift whose choice product has no product_codes row at all counts as stock 0 and is matched by any maximum, and a gift with no product choices is never matched.

  • [4.130.0] Check for overrides: Adv_gifts_model::parseAdminListConditions() (ecommercen/eshop/models/Adv_gifts_model.php), case 'text'. A purely numeric term (after trim) now matches gifts.id exactly OR gifts.internal_name LIKE, grouped with group_start()/group_end() so the OR cannot bypass the active, ruleIds and maxStock filters. Any other term still does the plain name LIKE, now on the table-qualified gifts.internal_name. A fork that overrides parseAdminListConditions() does not get the ID search.

  • [4.130.0] Not changed: the maxStock filter is untouched here (it has its own defect, #1023), the placeholder of the search box (gifts.admin.label.action.internal.use, "Action (Internal use)") still does not mention the ID, and the term 0 is still ignored by the controller (Adv_gifts_admin::index() skips falsy search text).

  • [4.130.0] Check for overrides: Adv_auth in ecommercen/auth/controllers/Adv_auth.php — new public method assigneeExists($assigneeId): bool (a CI3 form-validation callback; public because CI3 resolves callback_* rules on the controller), and the assigneeId rule in addTaskValidation() / editTaskValidation() changed from trim to trim|callback_assigneeExists. The callback_* form resolves because addTask() / editTask() already call form_validation->run($this); a client override of those actions must keep passing $this. A client controller that overrides either validation method without calling the parent does not get the new rule, and one that declares its own assigneeExists() must keep a compatible signature. An empty value is still accepted (the save falls back to the current user).

  • [4.130.0] A posted array (assigneeId[]=…) is rejected too: CI3 hands a callback null for an array field, which would otherwise count as empty and pass.

  • [4.130.0] A posted 0 is now rejected: it is not a user id, and before this change it silently fell back to the current user because the saves test !empty(). A padded value such as ' 5' is trimmed by CI before the check and saved trimmed.

  • [4.130.0] UI Update: a rejected value only re-renders the add/edit task form — application/views/admin/auth/addTask.php and updateTask.php have no form_error('assigneeId'), so the message is not displayed. It is only reachable with a crafted or stale form, because the assignee &lt;select> posts '' or a listed user id.

  • [4.130.0] The valid set is every row of users (soft-deleted users included), the same set the assignee dropdown lists; the per-role allowedUsers() restriction used by the views is not enforced server-side by this change.

  • [4.130.0] Check for overrides: Adv_product_categories_admin (ecommercen/eshop/controllers/Adv_product_categories_admin.php) — applyCategoryMasterValidationRules() now gives parent_id the rules ['trim', ['parentIsNotOwnSubtree', [$this, 'parentIsNotOwnSubtree']]] when $isUpdate is true (still trim on add); new public method parentIsNotOwnSubtree($parentId): bool (public because CI3 invokes the callable from outside the class); new protected property $editingCategoryId, set by edit() before it validates. The rule is a named callable, not a callback_* string, so it resolves whether edit() calls form_validation->run() or run($this). The validation($isUpdate) signature and the run() call in edit() are unchanged. A fork that overrides applyCategoryMasterValidationRules() without calling the parent does not get the rule; a fork whose own edit() does not set $editingCategoryId gets a rule that never rejects (it fails open, it does not break the edit). Adv_product_category_model gains a public wouldCreateParentCycle(int, int, ?array): bool.

  • [4.130.0] A posted array (parent_id[]=…) is rejected too. Without that guard the new callable would let the raw array survive to the save: CI3 hands a callback null for an array field and, because a callback ran, leaves $_POST['parent_id'] as the array, where the save's (int) cast turns it into 1 (a plain trim rule used to reset it to null, i.e. the root).

  • [4.130.0] UI Update: on rejection the category edit page shows only the generic eshop.admin.error.edit banner ("Fix errors and try again. Nothing was updated"). The specific message ("The {field} field cannot be the category itself or one of its sub-categories.", an English literal, not a translation key; {field} becomes the translated "Parent" label) is recorded in the form-validation errors but the admin template application/views/admin/product_categories/update.php has no form_error('parent_id'), so it is not displayed.

  • [4.130.0] Not changed: the delete half of #198 (orphans) was already fixed by canDeleteRecord(); get_depth() still has no visited set, so a category that is ALREADY in a cycle in the database still hangs its own edit page; and the REST PUT /categories/{id} write path (src/Domains/Product/Category/WriteData.php) has no cycle check.

  • [4.130.0] Client forks: no effect on a fork that sets ECOMMERCEN_CLIENT, because its PHPUnit steps skip. A fork that opts in to the PHPUnit steps now gets a blocking 8.5 step too.

  • [4.130.0] UI Update: assets/main/vue/AdvProductGallery.vue — a typeless failover row (type: null, emitted by productImagesWithPathsForJson() for a product with no media) is no longer treated as a video: hasThumbnail(null) is now false, the main media renders store.state.noImage as a plain img.imagepop, and resolveMediaThumbnail() / videoEmbedUrl tolerate a missing type. Image and YouTube media render exactly as before; for vimeo, tiktok, facebook and instagram as the MAIN media the main area stays empty, unchanged by this fix. assets/front and assets/design galleries do not contain this code and were not changed.

  • [4.130.0] Check for overrides: Adv_products::index() in ecommercen/eshop/controllers/Adv_products.php — its two parameters changed from required to optional (index($catSlug = null, $slug = null)) and it returns a 404 when either is missing. A client controller that overrides index() with REQUIRED parameters (index($catSlug, $slug)) is no longer signature-compatible with the parent and will fatal at load: make the override's parameters optional too (or call parent::index() first and keep the same defaults). The stock application/modules/eshop/controllers/Products.php does not override it.

  • [4.130.0] The same exposure was reported for Adv_product_categories::index(), but a bare /product_categories already answers 404 on develop, so that controller was not changed.

  • [4.130.0] Check for overrides: badgeImage() in application/helpers/main_theme_helper.php — the unused fourth parameter $giftSrc (default ui/main/img/gift_temp_img.jpg) was removed; a gift badge now returns assetUrl($badgeData['src']). A caller passing a fourth argument is unaffected at runtime (PHP ignores the extra argument), but a client override of this function or of the two product_combo_card.php / product_bundle_combo_card.php views that copied the same gift_temp_img.jpg substitution should drop it too.

  • [4.130.0] UI Update: application/views/main/components/product_card/product_combo_card.php and .../product_bundles/product_bundle_combo_card.php no longer overwrite $productBadge['src'] for gifts. Neither view renders $productBadge, so this removes dead code and changes nothing visible; the live defect was badgeImage() (the product-page badge).

  • [4.130.0] UI Update: assets/main/vue/AdvProductCard.vue — the .quick-v-thumb block is no longer in the DOM when show-image is false (it used to be present with display:none). The product page passes :show-image="false", the quick-view modal passes true and is unchanged. A client theme that styles or queries .quick-v-thumb inside the product page's add-to-cart card should not rely on it existing. The same v-show also exists in assets/front/vue/AdvProductCard.vue and assets/design/vue/AdvProductCard.vue and was not changed here.

  • [4.130.0] REST (additive, no client action): new filter[barcodeExact] on GET /rest/product/product and /item (REST API 1.124); filter[barcode] is unchanged and stays partial

  • [4.130.0] Check for overrides: Advisable\Domains\Product\Product\Service::filterSpecification() — the barcode and barcodeExact keys are handled here (buildSpecifications() lives in the BuildsFilterSpecifications trait and hands every such filter to this method). An override that does not delegate barcodeExact to the parent leaves the key to the generic filter, which targets shop_product_barcodes.barcode, a table the product query never joins (per the FilterByBarcode docblock): a non-empty value fails with Database match query failed. (QueryFailedException, driver error [1054] Unknown column 'shop_product_barcodes.barcode' in 'WHERE') and an empty value applies no filter at all

  • [4.130.0] Check for overrides: Advisable\Mcp\Tools\ProductTools::searchProducts() — gained two trailing optional params ($barcode, $barcode_match); additive

  • [4.130.0] Check for overrides: Advisable\Domains\Product\Product\Repository\Specification\FilterByBarcode::__construct() — gained optional $exact = false; additive

  • [4.130.0] Check for overrides: a client fork that edits the pull-requests steps of bitbucket-pipelines.yml will conflict on merge. A step a fork adds under pull-requests that needs the code must set clone: enabled: false and run - *pr_checkout before anything that needs the code (after any checks that skip the step), and must sit after Build PR Docker Image, where the anchor is defined.

  • [4.130.0] Bitbucket Pipelines only: the GitHub Actions workflow is unchanged. The pullrequest-fulfilled, pullrequest-rejected and tags pipelines are unchanged.

  • [4.130.0] Check for overrides: Adv_base_model (ecommercen/core/models/Adv_base_model.php) now declares public $client_views;. It was already set in the constructor, but never declared, which PHP 8.5 reports as a deprecation. It stays public and the constructor is unchanged, so there is no behaviour change. A fork model that extends it and declares its own $client_views must declare it public: a narrower visibility is a fatal error. No fork in the local checkouts declares one today.

  • [4.130.0] Check for overrides: a fork's own tests that assign undeclared (dynamic) properties to models, such as $db, $registry, $config, $load or other models, will show the same PHP 8.5 deprecations. Fix them the same way this change did: build a test-local anonymous subclass that declares exactly the properties the test injects. Do not add #[AllowDynamicProperties] to the base model classes.

  • [4.130.0] Client forks: the PHPUnit steps (PR and full suite) skip with exit 0 when ECOMMERCEN_CLIENT is set. The steps still start before skipping, because Bitbucket condition: cannot test variables: each one pulls its php_cli_dev image and starts the mariadb service (1 GB of service memory), so a fork PR still spends a few build minutes, and an image-pull failure turns the blocking 8.1 step red. On the Bitbucket PR steps the check runs before the *pr_checkout fetch (#1013), so a fork fetches no code. The skip only works if the fork defines ECOMMERCEN_CLIENT as a repository variable: a fork without it runs the PHPUnit steps after its next upstream merge. A fork opts in by removing the guard (the ECOMMERCEN_CLIENT check in the two PR steps of bitbucket-pipelines.yml and in .docker/scripts/ci/run-phpunit.sh). A fork that merges upstream gets the new steps and the mariadb service definition automatically; a fork with a customized bitbucket-pipelines.yml should keep the new PHPUnit steps and the mariadb service when resolving merge conflicts.

  • [4.130.0] Rollout: the 1.0.0-8.5.12 images are on Docker Hub. The full suite has no nightly schedule: run it by hand (Bitbucket Run pipeline -> Custom: phpunit-full-suite), for example before a release. It is the only CI run of the Database suite, which test:fast excludes.

  • [4.130.0] Pull requests from a forked repository (not a branch of this repo) get no secured variables on Bitbucket, so AUTH_JSON is empty and the blocking 8.1 step fails with exit 2 ("AUTH_JSON is not set"). This is deliberate: the step fails loudly instead of passing without running any test. Push the branch to this repo to get a real run.

  • [4.130.0] Image tags are hard-coded in both bitbucket-pipelines.yml and .github/workflows/app-ci.yml, so a PHP bump means editing both.

  • [4.130.0] Migration 20261110120000_widen_and_index_shop_order_tran_ticket.php (see the consolidated REQUIRES note above): widens shop_order.tran_ticket from varchar(32) to varchar(64) and adds an index on it. A Klarna order id is a 36-character UUID, which the old column cut to 32 characters. The index is built over the whole table, so run it in a quiet window on a large shop.

  • [4.130.0] Check for overrides:

    • PlaceOrderService::__construct() gained a trailing optional ?PaymentConfirmationService $paymentConfirmationService. The container wires it explicitly (src/Domains/Checkout/container.php).
    • PaymentInitResult gained a trailing bool $confirmed = false.
    • Adv_checkout::klarnaPaymentsNotification() is no longer empty. A fork that overrides it with the old empty body keeps the old behaviour, which means REST Klarna orders pending a fraud review are never confirmed.
    • Adv_order_model::getDebrisOrders() now also selects status. AdvCancelIncompleteOrders skips any debris row that is not PENDING. A fork's override without status is swept as before (bluestore and edructer override it without status).
  • [4.130.0] Klarna::getOrder() (Order Management API read) is new.

  • [4.130.0] klarna_payments is still not offered to external frontends. That requires adding it to the external payway allow-list (#673/#464).

  • [4.130.0] Check for overrides: direct deleteByPattern( calls in fork code (custom/, application/) — a call that passes a bare substring rather than the "&lt;lang>.&lt;group>.*" shape no longer matches by substring. Switch it to the dotted group form or to Pscache::delete_group(). Calls through Pscache::delete_group() / delete_all($dirname) are unaffected.

  • [4.130.0] Check for overrides: Smile Pharmacy (devteamadvisable/v4-smilepharmacy, branch clients/smile_v4, commit 3ef83ad7d) carries two local mitigations for this bug, both marked in-code for revert. Revert them when this fix is merged into the fork: (1) application/libraries/Pscache.php — delete_group() / delete_all($dirname) routed through a private invalidateGroup() → CachePool::deleteAll() → FileAdapter::clearNamespace(), gated on cache_l2_adapter === FileAdapter::class; (2) application/modules/sliders/models/Sliders_model.php — overrides of get_slider_elements(), getFrontMasterRecord() and getFrontMasterRecordIgnoreLimit() that filter expired slides in memory, with no DB write or cache flush on the render path.

  • [4.130.0] No protected or public method, signature, config key or REST contract changed (the removed scanDirectory() was private), so this fix needs no deployment action: no migration, no composer install, no build.

  • [4.130.0] Who hit it: every scheduled article. The blog index, category, tag and RSS listings already filtered on blog_date &lt;= today, but Adv_blog::blogArticle() checked is_published alone, and slugs are derived from titles. A back-office session (the loggedIn admin flag, shared through the session cookie) can still open drafts and scheduled articles to preview them. A NULL blog_date is not a schedule, so undated REST/MCP-created articles keep opening. The REST read path is unchanged and still applies no date window.

  • [4.130.0] Check for overrides: the gate moved into two new protected seams, Adv_blog::isArticleVisible() and ::isScheduledArticle(). A fork whose Blog controller overrides blogArticle() with its own copy of the old !$blogData->is_published && empty($this->cSData['loggedIn']) check does not get the date gate, and nothing surfaces that at merge time. It should replace that check with if (!$this->isArticleVisible($blogData)). Of the 16 v4 client branches (origin/clients/*) reviewed for this change, Dioptra, Heals, Pharmacy Discount and WeCare need this; Smile Pharmacy's override calls parent::blogArticle() and inherits the gate. The seam opens a page at blog_date itself. Dioptra's own listings use the end-of-day cutoff date('Y-m-d 23:59:59'), so there an article dated later today is listed before its page opens; Dioptra can override isScheduledArticle() to match.

  • [4.130.0] Cache: the article row is still read through pscache, but the date is compared on every request, so a scheduled article opens at its blog_date whatever the cache entry's age.

  • [4.130.0] REST API: no behaviour change. The OpenAPI descriptions of GET /rest/cms/blog/article/{id} and /item now state that no publication-date window applies there. Their API changelog entry in application/config/rest_api_versions.php also supersedes two statements in the released 1.41 note: that the legacy article page served drafts to any logged-in customer, and that it never applies the date window.

  • [4.130.0] What changed: Adv_blog_model::blogRelativeArticles() now applies the storefront listing rule itself (blog.is_published = true and blog.blog_date &lt;= date('Y-m-d')), the conditions Adv_blog::blogArticleExtras() already passes to getPreviousNext(). Like the other listings, the related list also leaves out articles whose blog_date is NULL. getPreviousNext() returns ['previous' => null, 'next' => null] when the current article is not in its own filtered list. Before this fix, a null position made next the list's second article. Both were open Known Issues in CF-20.

  • [4.130.0] Who saw it: the standard storefront template renders neither list. The fork figures here come from the default branches of the 101 v4 forks on Bitbucket, checked on 2026-11-11 with a code search and a read of each fork's blog model and controller. The related list is rendered by v4-evripidis and v4-evaspharmacy, and the previous/next links by v4-iscool-2 and v4-thegoodlife, all in application/views/main/layouts/blog/blog_post.php. v4-pharmafragakis renders the related list from its own override (next bullet). v4-pharm16, v4-eubadizein, v4-inatural and v4-pharmacy-shop have both blocks commented out. Any template that renders either list gets the fix.

  • [4.130.0] Check for overrides: no signature change. A fork whose Blog_model (application/modules/blog/models/Blog_model.php) replaces blogRelativeArticles() or getPreviousNext() does not get the fix. Only v4-pharmafragakis overrides either one. Its blogRelativeArticles() (Blog_model.php:36-65) already filters on is_published and blog_date &lt;= date('Y-m-d'), so it needs no change, and it inherits the getPreviousNext() fix. v4-heals, v4-wecare and v4-epharmadora call both methods from their own Blog::blogArticle(), so they inherit the fix.

  • [4.130.0] Date window: the related list uses the core window, blog_date &lt;= date('Y-m-d'). blog_date is a DATETIME, so that cutoff is midnight at the start of today. Dioptra (date('Y-m-d 23:59:59')) and WeCare (date('Y-m-d H:i:s')) use later cutoffs in their own listings, but neither shows the related list: Dioptra no longer fetches it, and no WeCare template renders it. A fork that renders it next to a later-cutoff listing would show an article dated later than midnight in the listing today and in the related list only tomorrow.

  • [4.130.0] Cache: related lists are cached through pscache per article and language for cache_l2_default_expires (86400 s by default). Entries written before the deploy keep their old contents until they expire; flush the L2 cache to apply the fix at once. The date cap is computed inside the method, so it is not part of the cache key. A scheduled article can therefore join the related lists up to one cache lifetime after its date. getPreviousNext() gets the date from its caller, so its key changes daily.

  • [4.130.0] Behaviour change: the author page now lists exactly what /blog lists:

    • an article dated today with a time after 00:00 appears there only from the next day;
    • an article with no blog_date (NULL, e.g. one created through POST /rest/cms/blog/article without a date) no longer appears there at all, as in every other storefront blog listing. Give it a date to list it. Its article page is unchanged.
  • [4.130.0] Check for overrides: a client application/modules/blog/controllers/Blog.php that overrides blogAuthor() keeps listing drafts and future-dated articles; add 'is_published' => true and 'blog_date &lt;=' => date('Y-m-d') to the condition it passes to blog_model::getBlogsList().

  • [4.130.0] Who hit it: every article created through Cms\Blog\Article\WriteService::create(), which writes no category — POST /rest/cms/blog/article and the MCP connector's create_article; the admin blog form requires one. Adv_blog_model::blogRelativeArticles() and ::getPreviousNext() handed the empty category list to where_in(), which this repo's query builder rejects with InvalidArgumentException; both now return early instead ([] and ['previous' => null, 'next' => null], the values an article alone in its categories already gets). The SQL for an article with categories is unchanged. Headless storefronts on the REST API were not affected.

  • [4.130.0] Check for overrides: no signature change. A fork that copies either method instead of calling parent:: does not receive the guard, and needs its own early return on an empty category list (in getPreviousNext(), before fixWhereCondition($where)). Of the 101 v4 client forks on Bitbucket, scanned at their main branches on 2026-11-11, only v4-pharmafragakis overrides either method: Blog_model::blogRelativeArticles() (application/modules/blog/models/Blog_model.php:36-65), which already returns [] for an article with no category. That fork's tests/Unit/Custom/UpstreamPinTest.php:31 pins a fingerprint of the parent blogRelativeArticles(), and this change alters that parent, so the pin fails on the fork's next upstream merge by design: re-review the override (it needs nothing from this change), then re-take the pin from the failure message. The fork does not override getPreviousNext(), and its Blog::blogArticleExtras() calls parent::, so its storefront had the 500 too, and this change fixes it there. Every other fork that loads either list reaches the upstream methods, through blogArticleExtras() or by calling them from its own blogArticle() (epharmadora, heals, wecare), and inherits the guard.

  • [4.130.0] Cache: like every other blog read, the empty related list and previous/next pair are cached through pscache for cache_l2_default_expires, and saving an article in the admin flushes no blog cache. Once an operator assigns the article a category, its related articles and previous/next links appear when that entry expires.

  • [4.130.0] Migration 20261002120000_add_mcp_connector_enabled_registry_key.php (see the consolidated REQUIRES note above): inserts the MCP_CONNECTOR.ENABLED registry row from this environment's current APP_MCP_CONNECTOR_ENABLED value (INSERT … SELECT … WHERE NOT EXISTS, so it never overwrites an existing row).

  • [4.130.0] One-time cache clear, right after migrate: run php cli.php cronjob/clearAllSiteCache once. The migration inserts the row with raw SQL and refreshes no cache, so without this clear the row stays invisible until each language's cached registry refreshes (on the next admin page load or cron run, at the latest after 24 h), and an environment that has the connector on today answers 404 on /mcp/c/&lt;token> until then. pscache lives in the L2 cache only, never in the pod-local L1, so where L2 is the shared Redis (the Kubernetes setup) one run reaches every pod. It is a full pscache clear rather than a registry-only delete_group('registry_model'), because a group clear deletes only the copies of the languages listed in admin_languages. /mcp/c/&lt;token> has no language segment and reads the copy of the shop's default language, so a group clear reaches it only where the default language is also an admin language: true in the stock config, not guaranteed in a fork. The full clear also empties the rest of pscache, which refills on demand, so on a busy shop deploy at a quiet time. Not needed again afterwards: saving the switch on settings/only_advisable clears the whole pscache, so a toggle applies from the next request in every language (IN-24, "Cache timing").

  • [4.130.0] Upgrade note — the APP_MCP_CONNECTOR_ENABLED env var is retired: it is no longer read at runtime (.env.example no longer lists it); the connector is now switched on and off by an Advisable user on settings/only_advisable. The migration above carries each environment's current value over once, reading it the way the runtime env() does (true/(true)/1 ⇒ on; false/(false)/0/empty/unset ⇒ off), so a line that says =false stays off. The .env line (or the variable wherever else the environment sets it) can be deleted afterwards — but only after that environment has run the migration, because the migration reads it once; deleted earlier, the row is seeded off. A fresh install, where the variable was never set, starts with the connector off. Deploy order: the migration must run before or together with the code deploy — code that goes live before it finds no row, which reads as off, so the connector stays off until the migration has run (the standard deploy runs php migrator.php migrate at container start, via .docker/scripts/deploy/init_migrate.php). The registry is read through a per-language cache that the migration does not refresh, hence the one-time cache clear above.

  • [4.130.0] Check for overrides: Adv_settings::only_advisable() and onlyAdvisableValidation() — the new Advisable-guarded write of MCP_CONNECTOR.ENABLED (inside allowRole([AUTH_ROLE_ADVISABLE], $this->sessionRoles)), the mcpConnectorEnabled render var and its trim rule; a fork overriding either must merge them, or the toggle will neither save nor show, and a fork's copy of the write must keep its pscache->delete_all() call, or a switch-off waits for the cache TTL. Mcp::connector() and AdvMcpConnectorSettings::index() (and its private guardWrite()) now call the new isMcpConnectorEnabled() from ecommercen/helpers/registry_helper.php — an override that still calls env('APP_MCP_CONNECTOR_ENABLED') keeps the old env gating, which no longer matches the setting Advisable toggles.

  • [4.130.0] UI Update: application/views/admin/settings/only_advisable.php gains an "MCP Connector" panel (checkbox mcpConnectorEnabled) — a fork with its own copy of that view must add it. New lang keys eshop.admin.only_for_advisable.enable_mcp_connector.header and .label; settings.mcp_connector.disabled_notice is reworded in all 8 locales to "The MCP Connector is disabled. It can be enabled by Advisable." — a client lang override of it will still tell the reader to set the env var.