Appearance
<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>
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
blockaccess401 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 TinyMCEEditor,Adminrunactions andAdv_advisable::clearcache(). RESTRelatedandRelatedGroupnow also admit the MARKETING role (#993) - [4.130.0] fix(security): run the Patcher controller only from the CLI.
application/controllers/Patcher.phpused to base64-decode a URL segment into a class name and run it with no CLI, auth or IP check, so an anonymousGET /patcher/<base64>(or/?/patcher/<base64>//index.php?/patcher/<base64>through CI3's query-string URI fallback) could run anyPatches\*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/<base64>, which the\Patches\AbstractPatchermigrations run, is unchanged, and so is thepatcher/(.+)route inapplication/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.shandcache/delete.batnow 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/, nocontainer.phpor no loose*.cachefiles still exit 0. delete.sh: a leftoverdel/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:rdanddeldo 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<folder>2subfolder inside it.
- 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.
- [4.130.0] chore(deps): upgrade Phinx 0.14 to 0.16.12 and
cakephp/database4.6.3 to 5.2.15 (the lock stays on 5.2.x becauseconfig.platform.phpis8.1.0), and widenpsr/logto^2.0 || ^3.0(the lock moves from 2 to 3.0.2) (#999). Also updated:ecommercen/v4-migrations1.1.0 andecommercen/ai-connector2.16.0. Incidental lock bumps:symfony/consolev6.4.50, thesymfony/*contracts v3.8.1, and two new packages,cakephp/chronos3.5.1 andleague/container4.2.5. PHP 8.1 is still supported, and the same lock installs on PHP 8.1 and PHP 8.5.migrator.phpandtests/bootstrap.phpnow load the globalenv()function themselves (see Notes). - [4.130.0] docs(claude):
CLAUDE.mdnow points Claude Code to the business logic flow docs indocs/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 thedoc-ba-resyncskill). - [4.130.0] fix(helpers):
convertGreekToGreeklish()/convertGreekToGreeklishForDhl()transliterate upper-case «ΑΥ» asau/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_enfields and the Doofinder products feed'scategory_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(): arrayreturns the URL-routable actions. The default is['index', 'blogAuthor', 'rss', 'search']. - After its single
urldecode()and the unchangedallbranch (/blog/all/{page}->index()), a segment calls a method only when it matches aremapActions()entry (case-insensitive) and that method exists. Every other segment, including protected helpers such asupdateArticleHits,liveSearch,searchPage,manageBlogCommentsandblogArticle, 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 thatmethod_exists()accepted. - A listed name that has no method falls through to the slug lookups.
- New hook
- [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 paralleldocker buildx buildby PID, so a failed image build makesbuild-php.sh,build-app.shandbuild-node.shexit 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/greekandsystem/language/greekwith a Unit test (#1024) - [4.130.0] fix(cache): admin "delete all cache" now clears the file cache even when
cache/delete.shcannot run (#1021)FileAdapter::clear()runs the script assh <path>on Linux, throughexec(), 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, orexec()being disabled indisable_functions, it logs one error on thecachelog channel and clears the cache through PHP instead. It returnstrueonly when the cache was really cleared. .gitattributesnow forces LF for*.shand 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_ENABLEDis on and none of the selected orders qualifies.Adv_loyalty::removeProductPointFromCustomers()andsaveProductPointToCustomers()passed an empty serial list towhere_in(), which throwsInvalidArgumentException; both now return['success' => [], 'error' => []]for an empty list without querying (#1026) - [4.130.0] feat(stripe): upgrade
stripe/stripe-phpfrom 9.9.0 to^22.1and pin one explicit Stripe API version (#739, part of #971). Every Stripe call now sendsStripeApiVersion::current()(Advisable\Stripe\StripeApiVersion), which is2026-10-28.endivefor this SDK. Before, noStripe-Versionheader was sent, so each shop used its own Stripe account's default API version; from now on every shop's Stripe responses come in the2026-10-28.endiveformat, whatever its account default is. - [4.130.0] Behaviour changes: (1) Stripe Checkout Sessions created by
StripeAdapternow useallowed_payment_method_types: ['card']instead ofpayment_method_types, which the endive API version removed. (2) A Stripe session that iscompletewithpayment_status = no_payment_required(a 100%-discount order) is now treated as paid, both on the storefront return (Adv_checkout::stripeResponse) and in the RESTCheckout::verifyStripePayment(POST /rest/checkout/confirm-payment/{orderId}; REST API 1.125 inrest_api_versions.php). (3) SDK telemetry is switched off, because the SDK would otherwise write atelemetry_idfile under$HOMEor%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/marketingpackage with our own clientAdvisable\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) andguzzlehttp/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 inAdv_Mailchimp_Api::getListTags(). - [4.130.0] chore(deps): bump
@advisable-com/ecomntagto 1.6.0, which adds anopenAiprovider for ChatGPT Ads events through GTM and stops the GA4 methods from rewritingitem_idon 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 migration20261109120000_merge_duplicate_registered_customers) finds every group of registeredshop_customerrows (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 tois_guest=1, so each e-mail has one registered row (#1027) - [4.130.0] fix(php85): stop reading an array with a
nullkey 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 insideisset()and?? $x. Each nullable key now gets?? ''. PHP before 8.5 already turned anullkey into'', so the result is the same on 8.1 and 8.5. The places are the currency from?curr=inAdvXml.php(every XML feed request without?curr=),comparisonPeriodinAdv_reporting.php, the customer and order county inAdv_Farmakon.php, the county on the customer account page, andstore_id,county,pricing_countyandshipping_countyin 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 !== nullbefore it looks the relation up inPRESENCE_COLUMNS. A plain column filter has no relation, and usingnullas an array key is deprecated on PHP 8.5. The lookup was always false fornull, so there is no behaviour change. Intests/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
SecurityHelpersTestcases that assumed/as the path separator now build their expected paths andpath_withininputs withDIRECTORY_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 asshell_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_addedandcart.product_removed(«Το προϊόν …», the cart toasts),modal.action.clear(«Επαναφορά») andservices_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) —
McpAuditLoggerloadedaudit/AdvAuditModel, a name the HMVC loader cannot resolve (the file lives underecommercen/, which is neither a module location nor a CodeIgniter model path), solog()andlogRead()failed inside their owncatch("MCP audit log failed: …" / "MCP analytics audit log failed: Unable to locate the model you have specified: AdvAuditModel") and no row reacheduser_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
0is shown back in the input — the filter queriedshop_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_namewas searched (#1022) - [4.130.0] fix(auth): a task's
assigneeIdmust 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 intotasks.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: ignorefrom the "PHPUnit (PHP 8.5)" step inbitbucket-pipelines.yml, andcontinue-on-errorfrom thephpunitjob in.github/workflows/app-ci.yml. They were only there while the PHP 8.5 deprecations fromtests/Legacywere 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')inAdvProductGallery(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 500ArgumentCountError(#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):
AdvProductCardno 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 withv-ifinstead ofv-showwhenshow-imageis false (#879) - [4.130.0] feat(mcp):
search_productsgainsbarcode(exact match by default, via the barcode index) andbarcode_match(exact|partial);search_productsrows andget_productnow returnbarcodes([{barcode, product_code}]). Adds an additivebarcodeExactfilter key to the Product domainListRequest/ REST list; the existingbarcodefilter 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-requestsinbitbucket-pipelines.ymlnow setsclone: enabled: false; the steps that need the code run one shared POSIXshsnippet (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_viewsonAdv_base_model(#1007, part of #971). On PHP 8.5.12 the Legacy suite reported 112 deprecations andcomposer test:fast113; 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:fastandphp cli.php job/check-containerinecommercen/adveshop4-php_cli_dev:1.0.0-8.1.34(blocking) and1.0.0-8.5.12(both blocking; the PHP 8.5 deprecations fromtests/Legacywere fixed in #1007), each with amariadb:11.6.2service. A Bitbucketcustom: phpunit-full-suitepipeline 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 globalt()test shim now behaves likeMY_Lang::t(), which fixes three order-dependent test failures (refs #697), andStacktraceArgumentStrippingTestpinszend.exception_string_param_max_lenso it no longer depends on the runner's php.ini. - [4.130.0] fix(checkout/klarna): a REST-placed
klarna_paymentsorder confirms instead of being cancelled by the 180-minute sweep. It is confirmed synchronously onfraud_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 privatescanDirectory()helper recursed over every language and group andstr_contains-matched each file's dotted relative path against the raw pattern. That match can never succeed for production callers: the pattern fromPscache::getCachePattern()is"<lang>.<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<cache>/el/slide_model/). Before,clearCache()ran one full-tree walk per group per admin language (slidersis 3 groups andproducts13, so a 2-language store did 6 and 26 walks per save). The cost was linear in total cache files, andcache_l2_size_limitallows 5 GB, so on file-backed L2 admin saves took minutes and the sessionflockblocked the admin's other tabs. The storefront slider path (Adv_sliders_model::getFrontMasterRecord(), which callsclearCache('sliders')when it prunes an expired slide) hitmax_execution_timeand returned HTTP 500s, self-sustaining until the cache TTL lapsed. Redis-backed L2 is not affected. The regression was introduced by5b274c1f0("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 removeel/slide_model/*andel/slideshow_group_model/*through the substring match).FileAdapter::deleteByPattern()now returns exactly1(directory removed) or0, soCachePool::deleteByPattern()now returnsfalsewhere a bare substring used to match. No platform caller relies on the old semantic:Pscache::delete_group()/delete_all($dirname)always pass"<lang>.<group>.*". Two regression tests intests/Integration/Cache/FileAdapterTest.phpcover it:el.slide_model.*is removed whileel.sliders_model,el.slideshow_group_model,el.product_modelanden.slide_modelsurvive, anddeleteByPattern('el.slide')deletes nothing (it failed on the old code). - [4.130.0] fix(blog): a published blog article whose
blog_dateis 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 = 1andblog_date <=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_INSTRUCTIONSand thecreate_articledescription no longer say that storefront blog listings "are reached through categories", which is not true of the/blogindex.CONTENT_INSTRUCTIONSnow says that the standard storefront leaves the article off the category and tag pages until it has categories and tags. Thecreate_articledescription 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 callTranslationMergercorrectness-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_ENABLEDenv var to the Advisable-only registry settingMCP_CONNECTOR.ENABLEDonsettings/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 upshop_customerand the tables listed in the merge note first — that migration cannot be undone):20261002120000_add_mcp_connector_enabled_registry_key.php— inserts theMCP_CONNECTOR.ENABLEDregistry row from the currentAPP_MCP_CONNECTOR_ENABLEDvalue; runphp cli.php cronjob/clearAllSiteCacheonce 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— widensshop_order.tran_tickettovarchar(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/database5.2.15,psr/log3,ecommercen/v4-migrations1.1.0,ecommercen/ai-connector2.16.0 (#999). stripe/stripe-php^22.1(#739).mailchimp/marketingremoved;guzzlehttp/guzzleandguzzlehttp/psr7now required directly (#1001).
- Phinx 0.16.12,
[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/ecomntag1.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_fpmandadveshop4-php_cli). Tenants switch themselves (Kubernetes throughecnv4_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 pickergetBlocks()= 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__constructwithout 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 classesApi_competitorsandEditor.[4.130.0] Check for overrides:
Adminrunhas a newactionRoles()map (default deny). A fork that adds its own action to a forkAdminrunis refused until it adds the action to the map.pendingOrdersForAsap= ADVISABLE, ADMIN, ORDERS;searchProductsalso admits REPORTING;solrIndexalso admits DEVELOPER;apiSearchProductsandtinymce_link_listadmit every panel role.[4.130.0] Check for overrides:
AdvBlockBuilderControllerhas a new_remap()that authorises before the action runs, pluseditorRoles(),blockPickerRoles(),rolesForAction()andauthorizeBlockBuilder();getBlocks()now refuses guests, and only public methods of the controller are dispatched (anything else is a 404).AdvBlockBuilderController::editorRoles()reads the newblockBuilderEditorRoles()helper (ecommercen/helpers/auth_helper.php), the same list the form buttons use.Adv_advisablehas a new_remap()with a default-denyactionRoles()map:indexand the inheritedmenuSidebarCondition(the sidebar open/closed toggle every admin page posts to) = every panel role,clearcacheandqueueBackup= ADVISABLE, ADMIN (thecloudflareoption ofclearcacheADVISABLE 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 callparent::_remap(). A forkAdvisablethat adds its own public action must add it toactionRoles()(merge withparent::actionRoles()), otherwise it is refused with 401. In the forks checked, only SeajetsAdmin overridesAdvisableactions (index,clearcache), and both are in the map.[4.130.0] UI Update:
application/views/admin/old_dashboard/dashboard.phpnow 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 whencanUseBlockBuilderEditor()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<?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_CANCELERorSCRIPT) must widen the lists in its own subclass:allowedRoles()on the constructor-gated classes,actionRoles()onAdminrunandAdvisable(this also covers the panel home pageadvisable/indexand the sidebar toggle), andeditorRoles()/blockPickerRoles()onBlock_builder.[4.130.0] Check for overrides (config, fork-owned): a fork's own
application/config/admin_menu.phpandrest_policies.phpare not updated by the merge. Mirror them: thesettings/faviconsmenu entry loses DEVELOPER, and the RESTRelated/RelatedGrouppolicies gainAUTH_ROLE_MARKETING.[4.130.0] UI Update:
application/views/admin/footer_js.phpnow 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 overridesfooter_js.phpdoes 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.phpfails unless the new controller definesallowedRoles()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.phpmust 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
/patcherpath is not enough: the query-string form (/?/patcher/<base64>) bypasses it. Forks that relied on such a rule still need this fix.[4.130.0] New protected seams on
Patcher:isCli(): boolandnotFound(): void.[4.130.0] Why: Courier Center delivers to BOX NOW lockers (#918), so the customer picks a BOX NOW locker.
SmartPointWidgetSelection.vuefilled{{@transporterName}}ofpreview.order.smartpoints.pickupandpreview.order.smartpoints.tooltipwith the transporter'sclass_name; it now passes alockerNetworkNamecomputed that mapsCENTERtoBOX NOWand keepsclass_namefor 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.vuekeeps the old label until it takes the computed. Takes effect afternpm run production.[4.130.0] Check for overrides: forks that carry their own
cache/delete.shorcache/delete.batget a merge conflict here. Epharmadora and FamilyPharmacy have an older hand-written copy that only clearsel/anden/. 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
cachelog 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 incache/.[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 pinecommercen/media-stream,stripe/stripe-phpandmatomo/matomo-php-trackerdifferently), so expect a merge conflict oncomposer.lockand probably on theai-connector/media-stream/v4-migrationsblock ofcomposer.json. Do NOT resolve the lock by keeping the fork's side (the upgrade then silently never happens;composer installonly 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: incomposer.jsonkeep 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 underconfig.platform(no fork has it yet; check it is there BEFORE thecomposer 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 owncomposer.lock; then re-resolve it withcomposer update psr/log robmorgan/phinx "cakephp/*" ecommercen/v4-migrations ecommercen/ai-connector -Wand confirm withcomposer 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 onlycomposer update ecommercen/v4-migrations ecommercen/ai-connector(so the lock matches the new^1.1/^2.16constraints; both releases still allow psr/log 2 and Phinx 0.14), and checks thatcomposer show psr/log robmorgan/phinxstill shows 2.x / 0.14.x; the newrequire_onceline inmigrator.phpalso works oncakephp/core4.6. AdvisableSite, Anatomicline, FamilyPharmacy, Nautilus and Services are still on psr/log 1 (^1.1or nopsr/logline) and have nomigrator.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.phpwith the oldpublic 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, commitb8f30e995), which deletedCoreLogger.phpand replacedapplication/core/Log.phpwith a stub that throws. In the merge, accept the upstream deletion ofCoreLogger.phpand take the upstreamLog.php, then follow the three 4.99.15 logger entries inChangelog.4.99.md(the #200feat(logger)entries and, above all, the Check for overrides bullet offix(logger): DI compile re-entrance + runtime hardening, which coversmonolog.php,hooks.php,container/logger.php,Log.phpandtests/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 ownLog.php+CoreLogger.phpmust instead add: voidtolog()(the minimum fix;string|\Stringable $messageis 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 globalenv()function.migrator.phpandtests/bootstrap.phpnow both load it withrequire_once 'vendor/cakephp/core/functions_global.php'. A fork with its own test bootstrap, its ownmigrator.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
voidmethods must not use->willReturn(null).[4.130.0] composer update in forks:
config.platform.phpis set to8.1.0so thatcomposer updatenever picks packages that need PHP 8.2 or later. A fork that runscomposer updateshould 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 asayurveda.[4.130.0] Check for overrides: a fork that redefines
customer.viber.added/customer.viber.removedinapplication/language/english/*_theme_lang.php, or edited them inecommercen/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]
GreekLanguageFileScriptTestnow also scans a fork's own copies ofecommercen/language/englishandsystem/language/englishfor 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'sBlog.phpstop being URL-routable unless they are listed inremapActions(). Matching is case-insensitive, and an allow-listed name that has no method falls through to the slug lookups. Forks that wideneddefaultRender()to public, and evripidis's publicgetPopularBlogs(), were URL-reachable before; this fix closes them and needs no fork action.[4.130.0] Check for overrides:
Adv_blog::_remap()and the newAdv_blog::remapActions(). Fork follow-up work is tracked in #933.- (a) A public URL action a fork adds to
Blog.phpmust be allow-listed, otherwise/blog/<action>returns 404. Override the hook and add the name (a publicfeed()method is the example):phpKnown cases: heals linksprotected function remapActions(): array { return array_merge(parent::remapActions(), ['feed']); }/blog/blogAuthorsfrom three views, so it must listblogAuthors. pharmacy-discount declares a publicblogAuthors()(list it if DB menus or CMS pages link to it). AdvisableSite has a publicxml()reached as/blog/xmland/news/insights/xml, so it must listxml. - (b) The fork that serves
EXT_ADVISABLE_SERVICES_BASE_URL(advisable-shop, defaulthttps://services.advisable.gr,application/config/app.php:541) defines a publicfeed(), and every install fetches/blog/feed(ecommercen/libraries/Adv_advisable_services.php:85). advisable-shop must allow-listfeedBEFORE 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 withOTHER.SERVICES_ENABLEDandOTHER.ENABLE_NEWSFEEDon. - (c) A fork that overrides
_remap()with its ownmethod_exists()dispatch and does not callparent::_remap()stays open until it ports the allow-list. dioptra and elxis are in this state (both also exposefeed()anddimofili()). megastore overrides_remap()but callsparent::_remap(), so it inherits the fix and needs no action.
- (a) A public URL action a fork adds to
[4.130.0] Check for overrides:
Adv_reporting_model::getTopRankingCustomers()(now returns[]without querying when a grade threshold is missing or not numeric) andAdv_settings::subsytemSettingsValidation()(the threeeshop_customer_grade_*_valuerules are nowtrim|numericwhen the posted or the storedPOINT_SYSTEM.IS_ENABLEDis on — whenever the grades can be saved — andtrimotherwise; it now also reads$this->registry).[4.130.0] UI Update:
application/views/admin/reporting/top_customers_list.phpescapes the grade label withhtml_escape().[4.130.0] The report still goes through
pscacheas 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.phpshows 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.shkeeps the old barewait(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 viewsadmin/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.phpkeeps its own copy of these strings and needs the same fix.[4.130.0] The SMS/Viber order texts (
*sms.order.*/*viber.order.*keys inadv_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.marketingwas «Μ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, andFileAdapter::clear()now behaves differently when the script fails (PHP fallback instead of a silent failure). Forks that extend or constructFileAdapter, or that carry their ownapplication/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 thecachechannel.[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
.shfiles are only rewritten when git touches them. To fix a working copy now, check the file out again, for examplerm cache/delete.sh && git checkout -- cache/delete.sh. After merging, a fork's Windows working copy of*.shis re-normalised to LF in the same way.[4.130.0] Check for overrides:
Loyalty::saveProductPointToCustomers()andLoyalty::removeProductPointFromCustomers()(application/libraries/Loyalty.php, public) — signatures are unchanged, but the behaviour for an empty serial list changed from throwingInvalidArgumentExceptionto returning['success' => [], 'error' => []]. A fork whoseLoyaltysubclass 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 nowprotected; a fork override of it must not beprivate.Advisable\Rest\Checkout\Controllers\Checkoutgained the protectedstripeSecretKey();verifyStripePaymentstays private.[4.130.0] Check for overrides: forks that override
StripeAdapterorStripeCheckout, or that callnew 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 owncomposer.jsonmust, after the upstream merge, change it to"stripe/stripe-php": "^22.1"and runcomposer update stripe/stripe-php --no-scripts. This step is required and easy to lose: 11 of these forks get a merge conflict on exactly thatcomposer.jsonline. A fork that keeps^9.5still 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 API2022-08-01(the old SDK's own version), where the REST checkout'sallowed_payment_method_typesdoes not exist.[4.130.0] Check for overrides: forks that extend
Mailchimp_Api/Adv_Mailchimp_Api(application/libraries/Mailchimp_Api.phpin upstream) must not useMailchimpMarketing\*classes or$this->mailchimp->lists->...any more. The protected$mailchimpproperty keeps its name, but its type is nowAdvisable\Mailchimp\MarketingClient, with flat methods:getAllLists($count, $offset),addListMember,getListInterestCategories,listInterestCategoryInterestsandtagSearch. 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 owncomposer.json, take"guzzlehttp/guzzle": "^7.16"and"guzzlehttp/psr7": "^2.13", and re-lock withcomposer update mailchimp/marketing guzzlehttp/guzzle guzzlehttp/psr7 -w. The-w(--with-dependencies) matters: Guzzle 7.16 needsguzzlehttp/promises2.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) andcomposer.lockconflicts.[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 TLSverifysetting fromTlsVerify::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 addresshttps://.api.mailchimp.comand 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.jsand its?id=inpublic/front-mix-manifest.jsonpick up 1.6.0 only when the frontend assets are rebuilt. Nothing calls the new*_OpenAimethods 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_customerand 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_pointsandmail(see below) change. Their customerrefresh_tokensare 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 fivenotification_*tables, andshop_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.mailto 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 (SQLLOWER()on thevarcharcolumn).[4.130.0] Left untouched:
public_orders,skroutz_ordersand 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 migrateretries 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_idcolumn 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.phporWebrun.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.phpandapplication/modules/job/libraries/SoftonePostOrders.php. - Heals:
application/controllers/Smartware.php.
- Nautilus:
[4.130.0] Not in this change: the vendor package
picqer/php-barcode-generatorstill callsimagedestroy(), 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:49and:95) cannot get anullrelation, 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.phpnow declarespublic $bulker;. It is identical to upstream in all 35 forks that have it, so it should merge cleanly.application/libraries/SimpleImage.phpnow declarespublic $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.phpnow declarespublic $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_mailerconstructor assigns$this->registry(upstream does:$this->registry = new Registry();), declarepublic $registry;next to the other property declarations (public $from,public $extraRecipients,protected $emailViews). This is correct and safe. - If your
Adv_mailerreads$this->registrybut never assigns it, do NOT only add the declaration. Anatomicline does this inorder_has_been_updated(). Also add$this->registry = new Registry();to the constructor. Without it, the declared property isnulland order emails fail with "Call to a member function get_regval() on null". Before the declaration, the undeclared property silently fell back to theregistrylibrary. - The new test fails in a fork until
Adv_mailerdeclares$registry. It is safe to declare it once the constructor assigns it. - If your
Adv_mailerneither assigns nor reads$this->registry, the declaration is harmless but not needed (AdvisableSite, Nautilus and Services).
- If your
[4.130.0] Check for overrides: the other 7 classes (under
ecommercen/andsrc/) reach forks through the normal upstream merge. They areAdv_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) andOutputPublicMarketplaceXml($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 itprotectedorprivateis a fatal error.[4.130.0] The new test skips, and does not fail, only for the three fork-owned classes
Bulker,SimpleImageandAdv_mailerwhen the fork does not have the file (for example, forks withoutapplication/libraries/SimpleImage.php). For the other seven classes, which are upstream-owned underecommercen/andsrc/, 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.phpgave 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 needsymlink(), which was denied for the user running them; their expected paths also go throughnative()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 keyedweightinstead of""(the backtick expression evaluated tonull). 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$selectcontaining aweightentry 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 commandto stderr, and withshell_execindisable_functionsthe old line throwsError: Call to undefined function shell_exec()(reproduced withphp -d disable_functions=shell_exec), so on such a host loading the bundle criteria failed outright. The issue describes the Linux behaviour (weight: not foundon 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.jsonandservices.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.phpscansassets/vue/locales/*.el.locale.jsonfor 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 nowif (($_SESSION['loginSuccess'] ?? false) === true); before,$_SESSION['loginSuccess'] === true ?? falseguarded 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 logindataLayer.pushis 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()andlogRead()now call$ci->load->model('audit/audit_model', 'mcpAuditModel')(the stockAudit_model extends AdvAuditModelinapplication/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 globalsite_url(): that function belongs to theurlhelper, which an MCP request never loads (McpextendsMX_Controller, and onlydiandstorefront_urlare autoloaded), so once the model loaded the call threw into the samecatchand still no row was written. ThemcpAuditModelalias, the row shape and the never-throws behaviour are unchanged. A fork that overridesAudit_modelis 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 overridesMcpAuditLoggerkeeps the failing load until it changes the model name and thesite_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.phpandModules.php.[4.130.0] Check for overrides:
Adv_gifts_model::parseAdminListConditions()(ecommercen/eshop/models/Adv_gifts_model.php),case 'maxStock'. The two RIGHT JOINs, theGROUP BYand theshop_product.stockcondition are replaced by onegifts.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 isSUM(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'stotal_stockcolumn sums all codes and can differ). The main query no longer has aGROUP BY, which also letscountAdminList()run (CodeIgniter wraps a grouped count in a derived table, andSELECT *over the old joins returned severalidcolumns). A fork that overridesparseAdminListConditions()keeps the failing filter.[4.130.0] UI Update:
application/views/admin/gifts/list.phpnow prints$giftSearch['maxStock'] ?? ''in the max-stock input, so a search for0stays 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_codesrow 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 (aftertrim) now matchesgifts.idexactly ORgifts.internal_name LIKE, grouped withgroup_start()/group_end()so the OR cannot bypass theactive,ruleIdsandmaxStockfilters. Any other term still does the plain nameLIKE, now on the table-qualifiedgifts.internal_name. A fork that overridesparseAdminListConditions()does not get the ID search.[4.130.0] Not changed: the
maxStockfilter 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 term0is still ignored by the controller (Adv_gifts_admin::index()skips falsy search text).[4.130.0] Check for overrides:
Adv_authinecommercen/auth/controllers/Adv_auth.php— new public methodassigneeExists($assigneeId): bool(a CI3 form-validation callback; public because CI3 resolvescallback_*rules on the controller), and theassigneeIdrule inaddTaskValidation()/editTaskValidation()changed fromtrimtotrim|callback_assigneeExists. Thecallback_*form resolves becauseaddTask()/editTask()already callform_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 ownassigneeExists()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 callbacknullfor an array field, which would otherwise count as empty and pass.[4.130.0] A posted
0is 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.phpandupdateTask.phphave noform_error('assigneeId'), so the message is not displayed. It is only reachable with a crafted or stale form, because the assignee<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-roleallowedUsers()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 givesparent_idthe rules['trim', ['parentIsNotOwnSubtree', [$this, 'parentIsNotOwnSubtree']]]when$isUpdateis true (stilltrimon add); new public methodparentIsNotOwnSubtree($parentId): bool(public because CI3 invokes the callable from outside the class); new protected property$editingCategoryId, set byedit()before it validates. The rule is a named callable, not acallback_*string, so it resolves whetheredit()callsform_validation->run()orrun($this). Thevalidation($isUpdate)signature and therun()call inedit()are unchanged. A fork that overridesapplyCategoryMasterValidationRules()without calling the parent does not get the rule; a fork whose ownedit()does not set$editingCategoryIdgets a rule that never rejects (it fails open, it does not break the edit).Adv_product_category_modelgains a publicwouldCreateParentCycle(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 callbacknullfor 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 plaintrimrule 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.editbanner ("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 templateapplication/views/admin/product_categories/update.phphas noform_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 RESTPUT /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 byproductImagesWithPathsForJson()for a product with no media) is no longer treated as a video:hasThumbnail(null)is nowfalse, the main media rendersstore.state.noImageas a plainimg.imagepop, andresolveMediaThumbnail()/videoEmbedUrltolerate a missingtype. 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/frontandassets/designgalleries do not contain this code and were not changed.[4.130.0] Check for overrides:
Adv_products::index()inecommercen/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 overridesindex()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 callparent::index()first and keep the same defaults). The stockapplication/modules/eshop/controllers/Products.phpdoes not override it.[4.130.0] The same exposure was reported for
Adv_product_categories::index(), but a bare/product_categoriesalready answers 404 ondevelop, so that controller was not changed.[4.130.0] Check for overrides:
badgeImage()inapplication/helpers/main_theme_helper.php— the unused fourth parameter$giftSrc(defaultui/main/img/gift_temp_img.jpg) was removed; a gift badge now returnsassetUrl($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 twoproduct_combo_card.php/product_bundle_combo_card.phpviews that copied the samegift_temp_img.jpgsubstitution should drop it too.[4.130.0] UI Update:
application/views/main/components/product_card/product_combo_card.phpand.../product_bundles/product_bundle_combo_card.phpno longer overwrite$productBadge['src']for gifts. Neither view renders$productBadge, so this removes dead code and changes nothing visible; the live defect wasbadgeImage()(the product-page badge).[4.130.0] UI Update:
assets/main/vue/AdvProductCard.vue— the.quick-v-thumbblock is no longer in the DOM whenshow-imageisfalse(it used to be present withdisplay:none). The product page passes:show-image="false", the quick-view modal passestrueand is unchanged. A client theme that styles or queries.quick-v-thumbinside the product page's add-to-cart card should not rely on it existing. The samev-showalso exists inassets/front/vue/AdvProductCard.vueandassets/design/vue/AdvProductCard.vueand was not changed here.[4.130.0] REST (additive, no client action): new
filter[barcodeExact]onGET /rest/product/productand/item(REST API 1.124);filter[barcode]is unchanged and stays partial[4.130.0] Check for overrides:
Advisable\Domains\Product\Product\Service::filterSpecification()— thebarcodeandbarcodeExactkeys are handled here (buildSpecifications()lives in theBuildsFilterSpecificationstrait and hands every such filter to this method). An override that does not delegatebarcodeExactto the parent leaves the key to the generic filter, which targetsshop_product_barcodes.barcode, a table the product query never joins (per theFilterByBarcodedocblock): a non-empty value fails withDatabase 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-requestssteps ofbitbucket-pipelines.ymlwill conflict on merge. A step a fork adds underpull-requeststhat needs the code must setclone: enabled: falseand run- *pr_checkoutbefore 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-rejectedandtagspipelines are unchanged.[4.130.0] Check for overrides:
Adv_base_model(ecommercen/core/models/Adv_base_model.php) now declarespublic $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_viewsmust declare itpublic: 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,$loador 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_CLIENTis set. The steps still start before skipping, because Bitbucketcondition:cannot test variables: each one pulls itsphp_cli_devimage and starts themariadbservice (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_checkoutfetch (#1013), so a fork fetches no code. The skip only works if the fork definesECOMMERCEN_CLIENTas a repository variable: a fork without it runs the PHPUnit steps after its next upstream merge. A fork opts in by removing the guard (theECOMMERCEN_CLIENTcheck in the two PR steps ofbitbucket-pipelines.ymland in.docker/scripts/ci/run-phpunit.sh). A fork that merges upstream gets the new steps and themariadbservice definition automatically; a fork with a customizedbitbucket-pipelines.ymlshould keep the new PHPUnit steps and themariadbservice when resolving merge conflicts.[4.130.0] Rollout: the
1.0.0-8.5.12images 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, whichtest:fastexcludes.[4.130.0] Pull requests from a forked repository (not a branch of this repo) get no secured variables on Bitbucket, so
AUTH_JSONis 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.ymland.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): widensshop_order.tran_ticketfromvarchar(32)tovarchar(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).PaymentInitResultgained a trailingbool $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 selectsstatus.AdvCancelIncompleteOrdersskips any debris row that is notPENDING. A fork's override withoutstatusis swept as before (bluestore and edructer override it withoutstatus).
[4.130.0]
Klarna::getOrder()(Order Management API read) is new.[4.130.0]
klarna_paymentsis 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"<lang>.<group>.*"shape no longer matches by substring. Switch it to the dotted group form or toPscache::delete_group(). Calls throughPscache::delete_group()/delete_all($dirname)are unaffected.[4.130.0] Check for overrides: Smile Pharmacy (
devteamadvisable/v4-smilepharmacy, branchclients/smile_v4, commit3ef83ad7d) 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 privateinvalidateGroup()→CachePool::deleteAll()→FileAdapter::clearNamespace(), gated oncache_l2_adapter === FileAdapter::class; (2)application/modules/sliders/models/Sliders_model.php— overrides ofget_slider_elements(),getFrontMasterRecord()andgetFrontMasterRecordIgnoreLimit()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, nocomposer 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 <= today, butAdv_blog::blogArticle()checkedis_publishedalone, and slugs are derived from titles. A back-office session (theloggedInadmin flag, shared through the session cookie) can still open drafts and scheduled articles to preview them. A NULLblog_dateis 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 whoseBlogcontroller overridesblogArticle()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 withif (!$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 callsparent::blogArticle()and inherits the gate. The seam opens a page atblog_dateitself. Dioptra's own listings use the end-of-day cutoffdate('Y-m-d 23:59:59'), so there an article dated later today is listed before its page opens; Dioptra can overrideisScheduledArticle()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 itsblog_datewhatever the cache entry's age.[4.130.0] REST API: no behaviour change. The OpenAPI descriptions of
GET /rest/cms/blog/article/{id}and/itemnow state that no publication-date window applies there. Their API changelog entry inapplication/config/rest_api_versions.phpalso 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 = trueandblog.blog_date <= date('Y-m-d')), the conditionsAdv_blog::blogArticleExtras()already passes togetPreviousNext(). Like the other listings, the related list also leaves out articles whoseblog_dateisNULL.getPreviousNext()returns['previous' => null, 'next' => null]when the current article is not in its own filtered list. Before this fix, a null position madenextthe 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-evripidisandv4-evaspharmacy, and the previous/next links byv4-iscool-2andv4-thegoodlife, all inapplication/views/main/layouts/blog/blog_post.php.v4-pharmafragakisrenders the related list from its own override (next bullet).v4-pharm16,v4-eubadizein,v4-inaturalandv4-pharmacy-shophave 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) replacesblogRelativeArticles()orgetPreviousNext()does not get the fix. Onlyv4-pharmafragakisoverrides either one. ItsblogRelativeArticles()(Blog_model.php:36-65) already filters onis_publishedandblog_date <= date('Y-m-d'), so it needs no change, and it inherits thegetPreviousNext()fix.v4-heals,v4-wecareandv4-epharmadoracall both methods from their ownBlog::blogArticle(), so they inherit the fix.[4.130.0] Date window: the related list uses the core window,
blog_date <= date('Y-m-d').blog_dateis aDATETIME, 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
pscacheper article and language forcache_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
/bloglists:- 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 throughPOST /rest/cms/blog/articlewithout 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.phpthat overridesblogAuthor()keeps listing drafts and future-dated articles; add'is_published' => trueand'blog_date <=' => date('Y-m-d')to the condition it passes toblog_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/articleand the MCP connector'screate_article; the admin blog form requires one.Adv_blog_model::blogRelativeArticles()and::getPreviousNext()handed the empty category list towhere_in(), which this repo's query builder rejects withInvalidArgumentException; 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 (ingetPreviousNext(), beforefixWhereCondition($where)). Of the 101 v4 client forks on Bitbucket, scanned at their main branches on 2026-11-11, onlyv4-pharmafragakisoverrides 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'stests/Unit/Custom/UpstreamPinTest.php:31pins a fingerprint of the parentblogRelativeArticles(), 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 overridegetPreviousNext(), and itsBlog::blogArticleExtras()callsparent::, so its storefront had the 500 too, and this change fixes it there. Every other fork that loads either list reaches the upstream methods, throughblogArticleExtras()or by calling them from its ownblogArticle()(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
pscacheforcache_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 theMCP_CONNECTOR.ENABLEDregistry row from this environment's currentAPP_MCP_CONNECTOR_ENABLEDvalue (INSERT … SELECT … WHERE NOT EXISTS, so it never overwrites an existing row).[4.130.0] One-time cache clear, right after
migrate: runphp cli.php cronjob/clearAllSiteCacheonce. 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 answers404on/mcp/c/<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-onlydelete_group('registry_model'), because a group clear deletes only the copies of the languages listed inadmin_languages./mcp/c/<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 onsettings/only_advisableclears 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_ENABLEDenv var is retired: it is no longer read at runtime (.env.exampleno longer lists it); the connector is now switched on and off by an Advisable user onsettings/only_advisable. The migration above carries each environment's current value over once, reading it the way the runtimeenv()does (true/(true)/1⇒ on;false/(false)/0/empty/unset ⇒ off), so a line that says=falsestays off. The.envline (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 runsphp migrator.php migrateat 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()andonlyAdvisableValidation()— the new Advisable-guarded write ofMCP_CONNECTOR.ENABLED(insideallowRole([AUTH_ROLE_ADVISABLE], $this->sessionRoles)), themcpConnectorEnabledrender var and itstrimrule; 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 itspscache->delete_all()call, or a switch-off waits for the cache TTL.Mcp::connector()andAdvMcpConnectorSettings::index()(and its privateguardWrite()) now call the newisMcpConnectorEnabled()fromecommercen/helpers/registry_helper.php— an override that still callsenv('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.phpgains an "MCP Connector" panel (checkboxmcpConnectorEnabled) — a fork with its own copy of that view must add it. New lang keyseshop.admin.only_for_advisable.enable_mcp_connector.headerand.label;settings.mcp_connector.disabled_noticeis 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.