Back to Posts Support

digital63764
digital63764

Hi, i installed dynamedia-posts plugin in the latest version in my octobercms 2 installation, when i installed it , all the frontend pages were completly blank, no text, no image, nothing, just a white and blank page, an all urls

i really hope someone can explain me why this happens , and how to solve it

Rob Ballantyne (Dynamedia)
Rob Ballantyne (Dynamedia)

Hi

Could you let me know your PHP version and details of any other plugins you are using and also the theme if any?

Thanks Rob

digital63764
digital63764

the php version is 7.4 the plugins have are gdpr cookie, team, translate , custom form,newsletter , and mail theme, mdb loaded

digital63764
digital63764

the php version is 7.4 the plugins have are gdpr cookie, team, translate , custom form,newsletter , and mail theme, mdb loaded

Rob Ballantyne (Dynamedia)
Rob Ballantyne (Dynamedia)

I think what's happening is caused by the theme having no pages defined to support the display of posts, categories and tags.

The plugin handles auto redirection for changes to the URL structure and without the relevant CMS pages available it's causing this crash. The solution is to implement the pages (see demo at https://github.com/Dynamedia/oc-posts-demo-theme)

I will attempt to change this behaviour to ensure silent failure in a future version.

Rob

digital63764
digital63764

before i installed the plugin everything worked since i had a fully built website with a lot of pages, translations, post , categories, etc , but when i installed the plugin this issue happened

ill try to install the theme you sent me , thanks

Rob Ballantyne (Dynamedia)
Rob Ballantyne (Dynamedia)

You should simply be able to remove the plugin and your site will return to normal.

The code causing the error is an event hook in the plugin.php file so when that is removed there will be no more issues.

I will update this thread once I've pushed a fix to prevent this problem happening in future.

1-7 of 7