Kephson / paste_reference

Paste reference instead of copy for content elements in TYPO3
MIT License
14 stars 20 forks source link

[BUG] Call to undefined method EHAERER\PasteReference\Helper\Helper::getInstance() #26

Closed mhirdes closed 10 months ago

mhirdes commented 10 months ago

Summary / Description

After installation I got this error, when I click on the page module and then on a page in the page tree.

Version

dev-TYPO3_12 PHP 8.2 TYPO3 12.4.7

Steps to reproduce

see Summary

Expected behaviour

No error

Actual behavior

see screen

16-11-_2023_13-38-17

simonschaufi commented 10 months ago

The ShortcutPreviewRenderer class is not yet migrated. How are you able to call this class? For me I can create references without using that class.

mhirdes commented 10 months ago

I just installed this extension nothing else. The error comes, when on the page is already a shortcut.

simonschaufi commented 10 months ago

ok that helps. With standard pages it works so far.

Kephson commented 10 months ago

could you please update, I pushed an update of version dev-main, dev-TYPO3_12 and dev-development. jQuery is now removed and the message of the modal has changed to show it as "reference".