[02:04:05] https://en.wikipedia.org/wiki/Category:Title_templates "Don't forget about MediaWiki:Sharedupload" (deleted) [07:37:03] $wgMainCacheType = CACHE_ACCEL; and $wgSessionCacheType = CACHE_ANYTHING; and I'm reading https://mediawiki.org/wiki/Manual:$wgMainCacheType and https://mediawiki.org/wiki/Manual:$wgSessionCacheType trying to figure out how come the cache breaks so often, for example: [07:37:12] during login "There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Please resubmit the form." [07:38:09] during editing page save changes: "Sorry! We could not process your edit due to a loss of session data. [07:38:09] You might have been logged out. Please verify that you're still logged in and try again. If it still does not work, try logging out and logging back in, and check that your browser allows cookies from this site." [07:38:42] I'm not sure if it is related to 2 MediaWiki installations on the domain, one at moasspedia.org and the other at dev.moasspedia.org [08:28:53] ryzenda: so CACHE_ANYTHING in that case would mean use Main cache type [08:29:18] So sometimes if apc is misconfigured or has too small an apc.shm_size set, things fall out of cache really quickly [08:29:38] One option is to set $wgSessionCacheType = CACHE_DB; this is slow, but very reliable [08:30:02] or try increasing apc.shm_size [08:30:15] I'm assuming you are using apcu here as your cache accelator [14:22:04] So apparently npm supports a dependency like "^1.0.0 || ^2.0.0" but this has virtually no practical purpose because there is circumstance in which this won't use 2.x.x. Unlike Composer, it completely ignores the "engines" field and does not e.g. prefer 1.0.0 if 2.0.0 requires a newer node verison. [14:22:18] the engines field is only used to warn you about the fact that it's not supported [14:22:45] https://github.com/npm/npm/issues/7340 [14:22:46] https://github.com/npm/feedback/discussions/445 [16:11:55] Hello, What is this error for? [16:11:59] Fatal error: Cannot declare class LightnCandy, because the name is already in use in /home/domain/domains/domain.net/public_html/wiki/vendor/zordius/lightncandy/src/LightnCandy.php on line 24 [16:14:21] alireza: looks like duplicate php files. Did you upgrade your MediaWiki installation unpacking new files over the old ones? That may leave old stuff behind that can cause such conflicts [16:14:51] I've restored a backup. How can I fixed this case? [16:19:53] Ideally you should download and reinstall wiki, extensions and skins on a new empty directory [16:20:43] You can also look at which file is duplicate, but chances are more than one file are conflicting [16:38:31] could also be caused by an extension using composer and you installing those deps separately rather than using composer-merge-plugin (via composer.local.json) in your wiki root