Hi,
I updated two websites from Kirby 2.5.5 to 2.5.6
Everything goes well with the first one but the second one give me a nice white page (Error 500)
The log give me this error:
PHP message: PHP Fatal error: Cannot declare class Asset, because the name is already in use in /.../kirby/branches/multilang.php on line 0
So I’ve assumed that maybe a plugin could already use a “Asset” class but a search with Sublime text doesn’t confirm this hypothesis
This is the output of my research with the keyword “class Asset”
Searching 1796 files for "class Asset" (case sensitive)
.../kirby/branches/default.php:
1 <?php
2
3: class Asset extends AssetAbstract {}
4 class Avatar extends AvatarAbstract {}
5 class Page extends PageAbstract {}
.../kirby/branches/multilang.php:
4 * Unmodified classes
5 */
6: class Asset extends AssetAbstract {}
7 class Avatar extends AvatarAbstract {}
8 class Pages extends PagesAbstract {}
.../kirby/core/asset.php:
1 <?php
2
3: abstract class AssetAbstract extends Media {
4
5 public $kirby = null;
.../kirby/test/lib/bootstrap.php:
26
27 // dummy classes
28: class Asset extends AssetAbstract {}
29 class Avatar extends AvatarAbstract {}
30 class Page extends PageAbstract {}
.../panel/app/controllers/assets.php:
3 use Kirby\Panel\Form;
4
5: class AssetsController extends Kirby\Panel\Controllers\Base {
6
7 public function js() {