Giter Site home page Giter Site logo

Comments (5)

DenisLanz avatar DenisLanz commented on July 19, 2024 1

There is an output in the browser through xdebug, it's a warning not an error so I could ignore it. Plugins are bare minimum: feeds, srcset, xmlsitemap and the editor.

from kirby3-srcset.

DenisLanz avatar DenisLanz commented on July 19, 2024 1

Works like a charm now. Thanks

from kirby3-srcset.

bnomei avatar bnomei commented on July 19, 2024

thanks for reporting. does this warning show up in php logs only or does the kirby error page (whoops) appear?

i use the loader for my test setup... it should only kick in if the editors class is not loaded once the srcset plugin loads.
https://github.com/bnomei/kirby3-srcset/blob/master/classes/Kirby/Editor/SrcsetBlock.php#L7

pathes should not matter. have you tried removing the composer.lock file?

from kirby3-srcset.

DenisLanz avatar DenisLanz commented on July 19, 2024

Yes I removed the composer.lock without success - error is thrown by xdebug/apache log.

#	Time	Memory	Function	Location
1	0.0002	405568	{main}( )	.../index.php:0
2	0.0009	405872	require( '[…]/vendor/autoload.php' )	.../index.php:3
3	0.0010	406552	ComposerAutoloaderInit9c6296bee2e0ab782c42180ef7b466d8::getLoader( )	.../autoload.php:7
4	0.0021	417176	composerRequire9c6296bee2e0ab782c42180ef7b466d8( )	.../autoload_real.php:56
5	0.0024	417744	require( '[…]/build/site/plugins/kirby3-srcset/classes/Kirby/Editor/SrcsetBlock.php' )	.../autoload_real.php:66
6	0.0025	418912	class_exists ( )	.../SrcsetBlock.php:13
7	0.0025	418960	spl_autoload_call ( )	.../SrcsetBlock.php:13
8	0.0026	419008	{closure:[…]/build/kirby/config/helpers.php:486-498}( )	.../SrcsetBlock.php:13

the stack trace was why I thought it is related to the autoloader

from kirby3-srcset.

bnomei avatar bnomei commented on July 19, 2024

i have some time tomorrow to do testings with most current version of editor. i will report back then.

  • so its not a whoops error page? just a log entry in apache log... not reported to screen?
  • are you using any other plugins?

from kirby3-srcset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.