page-blocks icon indicating copy to clipboard operation
page-blocks copied to clipboard

Uncaught Exception:

Open xpowert opened this issue 7 years ago • 8 comments

Hello, i cant add new blocks. I get this error;


[User Error] Uncaught Exception: Object->__call(): the method 'isnew' does not exist on 'TextBlock'
GET /admin/pages/edit/EditForm/field/Blocks/add-multi-class/TextBlock

Line 761 in /var/www/vhosts/erlanda/erlanda/wwwroot/framework/core/Object.php

xpowert avatar Sep 14 '17 16:09 xpowert

What version of SilverStripe are you using? And is there a full stack trace? There's no isNew method within this module.

bummzack avatar Sep 14 '17 17:09 bummzack

I fix it , the better button module was cousing the problem. Can i please contact with your privatly. Please it is very important. Just need to ask you a question.

xpowert avatar Sep 14 '17 17:09 xpowert

Hey men , this site is yours yes ? https://bummzack.ch/

2017-09-14 20:53 GMT+03:00 Roman Schmid [email protected]:

What version of SilverStripe are you using? And is there a full stack trace? There's no isNew method within this module.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bummzack/page-blocks/issues/17#issuecomment-329559830, or mute the thread https://github.com/notifications/unsubscribe-auth/AL8K3uf6IOZJLmZlOqAL3ZVdqXIasULPks5siWgvgaJpZM4PX2B8 .

xpowert avatar Sep 14 '17 18:09 xpowert

You already wrote me an Email. Feel free to send me your question… if it's about this module, why not ask it here though? Others might have the same question.

bummzack avatar Sep 14 '17 18:09 bummzack

https://bummzack.ch/ <- Can you suggest me how to make the same type block menu as you did in your page ? I use your module and i want to make something similar, but your page do not support links to other sites. AS for example i want to make a image block for example name cars it has car image and when user clicks on it , he is redirected on specific page.

xpowert avatar Sep 14 '17 18:09 xpowert

Can you please help me out with this? ;/

2017-09-14 21:02 GMT+03:00 Roman Schmid [email protected]:

You already wrote me an Email. Feel free to send me your question… if it's about this module, why not ask it here though? Others might have the same question.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bummzack/page-blocks/issues/17#issuecomment-329562083, or mute the thread https://github.com/notifications/unsubscribe-auth/AL8K3jcosuuYMI0PncuBjrJRljRd4Nzsks5siWoPgaJpZM4PX2B8 .

xpowert avatar Sep 14 '17 18:09 xpowert

@xpowert For your use-case you could either create a custom block, where you add DataObjects with Image & Link, or you add a DataExtension to Image, and add an additional Field with a Link to your Images.

bummzack avatar Sep 15 '17 10:09 bummzack

already made it. I can add the code sample for other users. Can you help with design ?

2017-09-15 13:01 GMT+03:00 Roman Schmid [email protected]:

@xpowert https://github.com/xpowert For your use-case you could either create a custom block, where you add DataObjects with Image & Link, or you add a DataExtension to Image, and add an additional Field with a Link to your Images.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bummzack/page-blocks/issues/17#issuecomment-329739014, or mute the thread https://github.com/notifications/unsubscribe-auth/AL8K3jwk3CxodnJ4J8lUFBbtFhdNShyjks5siksTgaJpZM4PX2B8 .

xpowert avatar Sep 15 '17 15:09 xpowert