We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12491
    • 90 Posts
    Removing the file: core/cashe/system_settings/config.cache.php will make it run again. I guess every change to the cache will corrupt this cash-file ?….

    website is running for a half year now sow , and i experienced the trouble after updating 2.1.3 to 2.1.4

    According to the modx team it's not related to the update so anybody got experience with this behavior?

    Thnx Hurby
      Sommige mensen hebben aan een half woord genoeg
      • 22303 MODX Staff
      • 10,725 Posts
      If you updated to 2.1.4-pl and your Resources all got moved to a single Context, as indicated in the announcement for 2.1.5, you will need to either restore your site from a backup taken prior to the 2.1.4-pl upgrade, OR upgrade to 2.1.5-pl and manually move your Resources back into the appropriate Contexts.

      If your error is not related to Resources all being moved into a single Context, then this is not a known issue with 2.1.4/5 and you will need to provide detailed information on what exactly is breaking the site. "Any change" is WAY too non-specific for us to help you.
        • 12491
        • 90 Posts
        Sorry but i can't make any thing else from it.
        It wasn't this way until the update, refreshing cache didn't cause this error in 2.1.3
        i now this for shore.

        The website is running, in front and back untill i change any system settings or refresh the cache

        It will produce this:


        {"expires":1583929175,"content":{"allow_tags_in_post":"1","allow_duplicate_alias":"","allow_multiple_emails":"1","archive_with":"","auto_menuindex":"1","auto_check_pkg_updates":"1","auto_check_pkg_updates_cache_expire":"14","automatic_alias":"1","blocked_minutes":"60","cache_action_map":"","cache_context_settings":"1","cache_db":"1","cache_db_expires":"2629","cache_default":"1","cache_disabled":"","cache_expires":"262974383","cache_json":"1","cache_json_expires":"262974383","cache_handler":"xPDOFileCache","cache_lang_js":"1","cache_lexicon_topics":"1","cache_noncore_lexicon_topics":"1","cache_resource":"1","cache_resource_expires":"2","cache_scripts":"1","cache_system_settings":"1","clear_cache_refresh_trees":"1","compress_css":"1","compress_js":"1","concat_js":"1","container_suffix":"\/","cultureKey":"nl","custom_resource_classes":"","default_per_page":"50","default_template":"1","editor_css_path":"","editor_css_selectors":"","emailsender":"[email protected]","emailsubject":"Your login details","enable_dragdrop":"1","error_page":"29","failed_login_attempts":"5","fe_editor_lang":"nl","feed_modx_news":"http:\/\/feeds.feedburner.com\/modx-announce","feed_modx_news_enabled":"1","feed_modx_security":"http:\/\/feeds.feedburner.com\/modxsecurity","feed_modx_security_enabled":"","filemanager_path":"","filemanager_path_relative":"1","filemanager_url":"","filemanager_url_relative":"1","forgot_login_email":"
        Hello [[+username]],<\/p>\n
        
        A request for a password reset has been issued for your MODx user. If you sent this, you may follow this link and use this password to login. If you did not send this request, please ignore this email.<\/p>\n\n
        
        \n Activation Link:<\/strong> [[+url_scheme]][[+http_host]][[+manager_url]]?modahsh=[[+hash]]
        \n Username:<\/strong> [[+username]]
        \n Password:<\/strong> [[+password]]
        \n<\/p>\n\n
        
        After you log into the MODx Manager, you can change your password again, if you wish.<\/p>\n\n
        
        Regards,
        Site Administrator<\/p>","forward_merge_excludes":"type,published,class_key,context_key","friendly_alias_lowercase_only":"1","friendly_alias_max_length":"0","friendly_alias_restrict_chars":"pattern","friendly_alias_restrict_chars_pattern":"\/[\\0\\x0B\\t\\n\\r\\f\\a&=+%#<>\"~:`@\\?\\[\\]\\{\\}\\|\\^'\\\\]\/","friendly_alias_strip_element_tags":"1","friendly_alias_translit":"none","friendly_alias_translit_class":"translit.modTransliterate","friendly_alias_translit_class_path":"\/var\/www\/clients\/client3\/web235\/web\/core\/components\/","friendly_alias_trim_chars":"\/.-_","friendly_alias_urls":"1","friendly_alias_word_delimiter":"-","friendly_alias_word_delimiters":"-_","friendly_urls":"1","hidemenu_default":"0","mail_charset":"UTF-8","mail_encoding":"8bit","mail_use_smtp":"","mail_smtp_auth":"","mail_smtp_helo":"","mail_smtp_hosts":"localhost","mail_smtp_keepalive":"","mail_smtp_pass":"","mail_smtp_port":"587","mail_smtp_prefix":"","mail_smtp_single_to":"","mail_smtp_timeout":"10","mail_smtp_user":"","manager_date_format":"Y-m-d","manager_time_format":"g:i a","manager_direction":"ltr","manager_lang_attribute":"nl","manager_language":"en","manager_theme":"default","manager_use_tabs":"1","modx_charset":"UTF-8","proxy_auth_type":"BASIC","proxy_host":"","proxy_password":"","proxy_port":"","proxy_username":"","password_generated_length":"8","password_min_length":"8","phpthumb_allow_src_above_docroot":"1","phpthumb_cache_maxage":"300","phpthumb_cache_maxsize":"50000","phpthumb_cache_maxfiles":"4000","phpthumb_cache_source_enabled":"","phpthumb_error_bgcolor":"CCCCFF","phpthumb_error_textcolor":"FF0000","phpthumb_error_fontsize":"4","phpthumb_far":"C","phpthumb_imagemagick_path":"","phpthumb_nohotlink_enabled":"1","phpthumb_nohotlink_erase_image":"1","phpthumb_nohotlink_valid_domains":"www.edart.nl","phpthumb_nohotlink_text_message":"a","phpthumb_nooffsitelink_enabled":"1","phpthumb_nooffsitelink_erase_image":"1","phpthumb_nooffsitelink_require_refer":"1","phpthumb_nooffsitelink_text_message":"Off-server linking is not allowed","phpthumb_nooffsitelink_valid_domains":"edart.nl,www.edart.nl","archivist.archive_ids":"244:arc_","phpthumb_nooffsitelink_watermark_src":"","phpthumb_zoomcrop":"1","publish_default":"","rb_base_dir":"","rb_base_url":"","request_controller":"index.php","request_param_alias":"q","request_param_id":"id","resolve_hostnames":"0","resource_tree_node_name":"pagetitle","richtext_default":"1","search_default":"1","server_offset_time":"0","server_protocol":"http","session_cookie_lifetime":"604800","session_cookie_secure":"0","session_handler_class":"modSessionHandler","set_header":"1","signupemail_message":"
        
        Hello [[+uid]],<\/p>\n
        
        Here are your login details for the [[+sname]] MODx Manager:<\/p>\n\n
        
        \n Username:<\/strong> [[+uid]]
        \n Password:<\/strong> [[+pwd]]
        \n <\/p>\n\n
        
        Once you log into the MODx Manager at [[+surl]], you can change your password.<\/p>\n\n
        
        Regards,
        Site Administrator<\/p>","site_name":"Edart","site_start":"1","site_status":"1","site_unavailable_message":"The site is currently unavailable","site_unavailable_page":"30","strip_image_paths":"1","symlink_merge_fields":"1","topmenu_show_descriptions":"1","tree_default_sort":"menuindex","tree_root_id":"0","udperms_allowroot":"1","unauthorized_page":"30","upload_files":"txt,html,htm,xml,js,css,zip,gz,rar,z,tgz,tar,htaccess,mp3,mp4,aac,wav,au,wmv,avi,mpg,mpeg,pdf,doc,xls,txt","upload_flash":"swf,fla","upload_images":"jpg,jpeg,png,gif,psd,ico,bmp","upload_maxsize":"1048576","upload_media":"mp3,wav,au,wmv,avi,mpg,mpeg","use_alias_path":"1","use_browser":"1","use_editor":"1","use_multibyte":"","webpwdreminder_message":"
        
        Hello [[+uid]],<\/p>\n\n
        
        To activate your new password click the following link:<\/p>\n\n
        
        [[+surl]]<\/p>\n\n
        
        If successful you can use the following password to login:<\/p>\n\n
        
        Password:<\/strong> [[+pwd]]<\/p>\n\n
        
        If you did not request this email then please ignore it.<\/p>\n\n
        
        Regards,
        \n Site Administrator<\/p>","websignupemail_message":"
        
        Hello [[+uid]],<\/p>\n\n
        
        Here are your login details for [[+sname]]:<\/p>\n\n
        
        Username:<\/strong> [[+uid]]
        \n Password:<\/strong> [[+pwd]]<\/p>\n\n
        
        Once you log into [[+sname]] at [[+surl]], you can change your password.<\/p>\n\n
        
        Regards,
        \n Site Administrator<\/p>","welcome_screen":"","welcome_screen_url":"http:\/\/misc.modx.com\/revolution\/welcome.21.html","which_editor":"TinyMCE","which_element_editor":"","xhtml_urls":"1","settings_version":"2.1.5-pl","settings_distro":"traditional","access_policies_version":"1.0","babel.contextKeys":"web","babel.babelTvName":"LanguageLinks","babel.syncTvs":"","gallery.phpthumb_url":"assets\/components\/phpthumb\/","gallery.assets_url":"\/assets\/components\/gallery\/","gallery.files_url":"\/assets\/components\/gallery\/files\/","gallery.phpthumb_path":"\/var\/www\/clients\/client3\/web235\/web\/assets\/components\/phpthumb\/","gallery.assets_path":"\/var\/www\/clients\/client3\/web235\/web\/assets\/components\/gallery\/","gallery.files_path":"\/var\/www\/clients\/client3\/web235\/web\/assets\/components\/gallery\/files\/","gallery.core_path":"\/var\/www\/clients\/client3\/web235\/web\/core\/components\/gallery\/","gallery.thumbs_prepend_site_url":"1","gallery.default_batch_upload_path":"\/var\/www\/clients\/client3\/web235\/web\/assets\/images\/","gallery.backend_thumb_zoomcrop":"1","login.forgot_password_email_subject":"Password Retrieval Email","recaptcha.public_key":"","recaptcha.private_key":"","recaptcha.use_ssl":"","formit.recaptcha_public_key":"","formit.recaptcha_private_key":"","formit.recaptcha_use_ssl":"","quip.emailsFrom":"[email protected]","quip.emails_from_name":"[email protected]","quip.emailsTo":"[email protected]","quip.emailsReplyTo":"[email protected]","quip.allowed_tags":"
        ","sisea.driver_class":"SimpleSearchDriverBasic","sisea.driver_class_path":"","sisea.driver_db_specific":"1","sisea.solr.hostname":"127.0.0.1","sisea.solr.port":"8983","sisea.solr.path":"","sisea.solr.username":"","sisea.solr.password":"","sisea.solr.timeout":"30","sisea.solr.ssl":"","sisea.solr.ssl_cert":"","sisea.solr.ssl_key":"","sisea.solr.ssl_keypassword":"","sisea.solr.ssl_cainfo":"","sisea.solr.ssl_capath":"","sisea.solr.proxy_host":"","sisea.solr.proxy_port":"","sisea.solr.proxy_username":"","sisea.solr.proxy_password":"","tiny.convert_fonts_to_spans":"1","tiny.convert_newlines_to_brs":"","tiny.css_selectors":"\"button=more;bulletlist=bulletlist\"","tiny.custom_buttons1":"undo,redo,selectall,separator,pastetext,pasteword,separator,search,replace,separator,nonbreaking,hr,charmap,separator,image,modxlink,unlink,anchor,media,separator,cleanup,removeformat,separator,fullscreen,print,code,help","tiny.custom_buttons2":"bold,italic,underline,strikethrough,sub,sup,separator,bullist,numlist,outdent,indent,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect,separator,styleprops","tiny.custom_buttons3":"","tiny.custom_buttons4":"","tiny.custom_buttons5":"","tiny.custom_plugins":"style,advimage,advlink,modxlink,searchreplace,print,contextmenu,paste,fullscreen,noneditable,nonbreaking,xhtmlxtras,visualchars,media","tiny.editor_theme":"advanced","tiny.element_format":"xhtml","tiny.entity_encoding":"named","tiny.fix_nesting":"","tiny.fix_table_elements":"","tiny.font_size_classes":"","tiny.font_size_style_values":"xx-small,x-small,small,medium,large,x-large,xx-large","tiny.forced_root_block":"p","tiny.indentation":"30px","tiny.invalid_elements":"","tiny.nowrap":"","tiny.object_resizing":"1","tiny.path_options":"","tiny.remove_linebreaks":"","tiny.remove_redundant_brs":"1","tiny.removeformat_selector":"b,strong,em,i,span,ins","tiny.skin":"cirkuit","tiny.skin_variant":"","tiny.table_inline_editing":"","tiny.template_list":"","tiny.template_selected_content_classes":"","tiny.theme_advanced_blockformats":"p,h1,h2,h3,h4,h5,h6,div,blockquote,code,pre,address","tiny.theme_advanced_font_sizes":"80%,90%,100%,120%,140%,160%,180%,220%,260%,320%,400%,500%,700%","tiny.use_uncompressed_library":"","access_category_enabled":"1","access_context_enabled":"1","access_resource_group_enabled":"1","allow_forward_across_contexts":"1","base_help_url":"http:\/\/rtfm.modx.com\/display\/revolution20\/","cache_format":"1","global_duplicate_uri_check":"0","link_tag_scheme":"-1","manager_favicon_url":"","principal_targets":"modAccessContext,modAccessResourceGroup,modAccessCategory","phpthumb_document_root":"\/var\/www\/clients\/client3\/web235\/web\/assets\/components\/phpthumbof\/","resource_tree_node_tooltip":"","session_cookie_domain":"","session_cookie_path":"\/","session_name":"","tiny.base_url":"","cache_db_session":"1","cache_db_session_lifetime":"262974383","session_gc_maxlifetime":"604800","gallery.backend_thumb_width":"50","gallery.backend_thumb_height":"50","gallery.backend_thumb_far":"C","gallery.file_structure_version":"1.0","context_tree_sort":"","context_tree_sortby":"key","context_tree_sortdir":"ASC","tiny.template_list_snippet":"","gallery.use_richtext":"","phpthumbof.use_s3":"","phpthumbof.s3_key":"","phpthumbof.s3_secret_key":"","phpthumbof.s3_bucket":"","phpthumbof.s3_host_alias":"","phpthumbof.s3_path":"phpthumbof\/","phpthumbof.s3_cache_time":"24","phpthumbof.s3_headers_check":"","gallery.tiny.width":"95%","gallery.tiny.height":"200","gallery.tiny.buttons1":"undo,redo,selectall,pastetext,pasteword,charmap,separator,image,modxlink,unlink,media,separator,code,help","gallery.tiny.buttons2":"bold,italic,underline,strikethrough,sub,sup,separator,bullist,numlist,outdent,indent,separator,justifyleft,justifycenter,justifyright,justifyfull","gallery.tiny.buttons3":"styleselect,formatselect,separator,styleprops","gallery.tiny.buttons4":"","gallery.tiny.buttons5":"","gallery.tiny.custom_plugins":"","gallery.tiny.theme":"","gallery.tiny.theme_advanced_blockformats":"","gallery.tiny.theme_advanced_selectors":"","gallery.tiny.theme_advanced_css_selectors":"","request_method_strict":"0"}} Warning: array_merge(): Argument #2 is not an array in /var/www/clients/client3/web235/web/core/model/modx/modx.class.php on line 2018 Fatal error: Class 'modContext_' not found in /var/www/clients/client3/web235/web/core/xpdo/xpdo.class.php on line 615


        removing

        core/cache/system_settings/config.cache.php will restore it to prior status.


        Gr Hurby
          Sommige mensen hebben aan een half woord genoeg
          • 22303 MODX Staff
          • 10,725 Posts
          You seem to be using json format for your cache files. Is this intentional? Sounds like you changed this system setting (cache_format) and this alone can cause what you describe unless you include this change in your $config_options array in the config file.
            • 12491
            • 90 Posts
            Hi OpenGeek,

            Solved it about 10 minutes ago by completely removing all the cache files and directories
            In de db all cashing vars to 0.

            Then it was working again

            Now all cashing vars are on again, and it's running okay.

            Thnx for your fast reply.

            SOLVED!

              Sommige mensen hebben aan een half woord genoeg