Skip to content

Conversation

@eyalacato
Copy link
Contributor

Hi Yard,

In een thema waarin we de PDC plugin gebruiken, willen we de PDC plugin classes zoals de ItemController gebruiken. Om die reden laden we de Plugin class in. Echter krijgen we een fatal error: PHP Fatal error: Uncaught Error: Call to a member function useShowOn() on null in C:\Users\eyal_\Local Sites\sittard-geleennl\app\public_html\wp-content\plugins\pdc-base\src\Base\RestAPI\Controllers\ItemController.php:164

Met de toevoeging in deze PR is dit probleem opgelost. Dit stukje code in de __construct van de plugin staat wél in de OpenPub plugin, maar niet hier in de PDC plugin.

@eyalacato eyalacato requested a review from mvdhoek1 January 30, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants