Cleaner for orphaned blocks

Permalink Browser Info Environment
Wouldn't it be possible to integrate a cleaner for orphaned blocks?

Type: Discussion
Status: Archived
strandbein
View Replies:
JohntheFish replied on at Permalink Reply
JohntheFish
I would very much like to engineer such a cleaner. Unfortunately the way in which blocks and areas are created and orphaned prevents any accurate server-side solution such as would be a useful extension to Extreme Clean. There is plenty of discussion about orphan blocks on Github
https://github.com/concretecms/concretecms/issues?q=sort%3Aupdated-d...

Particularly relevant are
https://github.com/concretecms/concretecms/pull/8991...
https://github.com/concretecms/concretecms/issues/9077...

There are many orphan/zombie consequences of the way page templates, layouts and containers are used.

There are also some unresolved bugs relating to the existing orphan panel, especially relating to layouts, stacks and containers
https://github.com/concretecms/concretecms/issues/11381...
https://github.com/concretecms/concretecms/issues/11896...
https://github.com/concretecms/concretecms/issues/11201...
https://github.com/concretecms/concretecms/issues/11442...
strandbein replied on at Permalink Reply
strandbein
Oh, that does seem to be a bigger problem. Thanks for the effort to explain that.

concrete5 Environment Information

# Concrete Version
Core Version - 9.2.7
Version Installed - 9.2.7
Database Version - 20240122172319

# Hostname
dd29806

# Environment
production

# Database Information
Version: 10.5.23-MariaDB-1:10.5.23+maria~ubu2004-log
SQL Mode: NO_ENGINE_SUBSTITUTION
Character Set: utf8mb4
Collation: utf8mb4_unicode_ci

# Concrete Packages
Add Animation (1.0.1), Advanced HTML Block (1.1), Block Builder (2.4.0), Buttons Factory Pro (5.0.4), Captcha by Cloudflare Turnstile (1.0), Container Check (9.0.2), Ele-PHP-ant Info (9.0.5), Empty Anchor (1.1.0), Enlil Page List (0.9.8.2), Enlil Search Templates (0.9.0.2), Extreme Clean (9.1.7), Favorite Pages (2.2), Geolocation with MaxMind GeoIP2 (1.3.1), Magic Tabs (9.0.8), Manual Nav (3.0.0), Modena Theme (2.2.0), Nestable Manual Nav (9.0.1), Omni Gallery (9.2.26), Page Redirect (1.0), Script Output (1.2.1), Stored Settings Manager (9.0.2), Theme Styling Tool (1.2.3), V3 Email Obfuscator (3.0.0)

# Concrete Overrides
blocks/next_previous/templates/modena_next_previous_pfeile/view Kopie 2.php, blocks/next_previous/templates/modena_next_previous_pfeile/view.php, blocks/next_previous/templates/modena_next_previous_pfeile/view Kopie 3.php, blocks/next_previous/templates/modena_next_previous_pfeile/view Kopie 4.php, blocks/next_previous/templates/modena_next_previous_pfeile/view kopie2.php, blocks/next_previous/templates/modena_next_previous_pfeile/view Kopie.php, blocks/next_previous/templates/modena_next_previous_pfeile/view orig.php, blocks/next_previous/templates/modena_next_previous_pfeile, blocks/next_previous/templates/modena_next_previous_mobil/view (05.02.2024, 14-35-32).php, blocks/next_previous/templates/modena_next_previous_mobil/view (05.02.2024, 14-34-02).php, blocks/next_previous/templates/modena_next_previous_mobil/view Kopie 2.php, blocks/next_previous/templates/modena_next_previous_mobil/view.php, blocks/next_previous/templates/modena_next_previous_mobil/view (05.02.2024, 14-38-26).php, blocks/next_previous/templates/modena_next_previous_mobil/view Kopie.php, blocks/next_previous/templates/modena_next_previous_mobil/view (05.02.2024, 14-44-28).php, blocks/next_previous/templates/modena_next_previous_mobil/view (05.02.2024, 14-39-21).php, blocks/next_previous/templates/modena_next_previous_mobil, blocks/next_previous/templates/modena_next_previous_strich_unten/view.php, blocks/next_previous/templates/modena_next_previous_strich_unten, blocks/next_previous/templates, blocks/next_previous, blocks/autonav/templates/sidebar-nav-style-2/view.php, blocks/autonav/templates/sidebar-nav-style-2, blocks/autonav/templates/sidebar-nav-style-1-Jens/view.php, blocks/autonav/templates/sidebar-nav-style-1-Jens, blocks/autonav/templates/main-nav/view.php, blocks/autonav/templates/main-nav, blocks/autonav/templates/main-nav-placeholders/view.php, blocks/autonav/templates/main-nav-placeholders, blocks/autonav/templates, blocks/autonav, blocks/jl_magic_tabs/templates/Modena_1_Individuell/view.css, blocks/jl_magic_tabs/templates/Modena_1_Individuell/view.php, blocks/jl_magic_tabs/templates/Modena_1_Individuell/view orig.css, blocks/jl_magic_tabs/templates/Modena_1_Individuell, blocks/jl_magic_tabs/templates/m2vr, blocks/jl_magic_tabs/templates/Modena_1_vl_Individuell/view.css, blocks/jl_magic_tabs/templates/Modena_1_vl_Individuell/view.php, blocks/jl_magic_tabs/templates/Modena_1_vl_Individuell, blocks/jl_magic_tabs/templates/mProdukte/view.css, blocks/jl_magic_tabs/templates/mProdukte/view.php, blocks/jl_magic_tabs/templates/mProdukte/view orig.css, blocks/jl_magic_tabs/templates/mProdukte, blocks/jl_magic_tabs/templates/Modena_2_vr_Individuell/view.css, blocks/jl_magic_tabs/templates/Modena_2_vr_Individuell/view.php, blocks/jl_magic_tabs/templates/Modena_2_vr_Individuell, blocks/jl_magic_tabs/templates/buttons_pro_vertical_right_example/view.css, blocks/jl_magic_tabs/templates/buttons_pro_vertical_right_example/view.php, blocks/jl_magic_tabs/templates/buttons_pro_vertical_right_example, blocks/jl_magic_tabs/templates/Modena_2_vl_Individuell/view.css, blocks/jl_magic_tabs/templates/Modena_2_vl_Individuell/view.php, blocks/jl_magic_tabs/templates/Modena_2_vl_Individuell/view original.php, blocks/jl_magic_tabs/templates/Modena_2_vl_Individuell/view original.css, blocks/jl_magic_tabs/templates/Modena_2_vl_Individuell, blocks/jl_magic_tabs/templates/buttons_pro_PRS_Tab/view.css, blocks/jl_magic_tabs/templates/buttons_pro_PRS_Tab/view.php, blocks/jl_magic_tabs/templates/buttons_pro_PRS_Tab, blocks/jl_magic_tabs/templates/m2/view.css, blocks/jl_magic_tabs/templates/m2/view Kopie.css, blocks/jl_magic_tabs/templates/m2/view.php, blocks/jl_magic_tabs/templates/m2, blocks/jl_magic_tabs/templates/mProduktevl/view.css, blocks/jl_magic_tabs/templates/mProduktevl/view.php, blocks/jl_magic_tabs/templates/mProduktevl/view orig.css, blocks/jl_magic_tabs/templates/mProduktevl, blocks/jl_magic_tabs/templates/Modena_2_Individuell/view.css, blocks/jl_magic_tabs/templates/Modena_2_Individuell/view Kopie.css, blocks/jl_magic_tabs/templates/Modena_2_Individuell/view.php, blocks/jl_magic_tabs/templates/Modena_2_Individuell, blocks/jl_magic_tabs/templates/m2vl/view.css, blocks/jl_magic_tabs/templates/m2vl/view original.css, blocks/jl_magic_tabs/templates/m2vl, blocks/jl_magic_tabs/templates/m1vr/view.css, blocks/jl_magic_tabs/templates/m1vr/view.php, blocks/jl_magic_tabs/templates/m1vr, blocks/jl_magic_tabs/templates/buttons_pro_vertical_left_example/view.css, blocks/jl_magic_tabs/templates/buttons_pro_vertical_left_example/view.php, blocks/jl_magic_tabs/templates/buttons_pro_vertical_left_example, blocks/jl_magic_tabs/templates/mvl/view.css, blocks/jl_magic_tabs/templates/mvl/view.php, blocks/jl_magic_tabs/templates/mvl, blocks/jl_magic_tabs/templates/m1/view.css, blocks/jl_magic_tabs/templates/m1/view.php, blocks/jl_magic_tabs/templates/m1/view orig.css, blocks/jl_magic_tabs/templates/m1, blocks/jl_magic_tabs/templates/buttons_pro_pills_example/view.css, blocks/jl_magic_tabs/templates/buttons_pro_pills_example/view.php, blocks/jl_magic_tabs/templates/buttons_pro_pills_example, blocks/jl_magic_tabs/templates, blocks/jl_magic_tabs

# Concrete Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Only when manually removed or the cache is cleared.

# Database Entities Settings
Doctrine Development Mode - Off

# Server Software
Apache

# Server API
fpm-fcgi

# PHP Version
8.2.16

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, ionCube Loader, json, ldap, libxml, mailparse, mbstring, mysqli, mysqlnd, OAuth, odbc, openssl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, random, raphf, Reflection, session, shmop, SimpleXML, soap, sodium, SourceGuardian, SPL, sqlite3, standard, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 3000
max_multipart_body_parts - -1
memory_limit - 256M
post_max_size - 200M
upload_max_filesize - 200M
zend.exception_string_param_max_len - 15
ldap.max_links - Unlimited
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
raphf.persistent_handle.limit - -1
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096
opcache.jit_bisect_limit - 0
opcache.jit_max_exit_counters - 8192
opcache.jit_max_loop_unrolls - 8
opcache.jit_max_polymorphic_calls - 2
opcache.jit_max_recursive_calls - 2
opcache.jit_max_recursive_returns - 2
opcache.jit_max_root_traces - 1024
opcache.jit_max_side_traces - 128
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.