Rajiv Posted November 17, 2016 Share Posted November 17, 2016 Hello, i'm new to processwire, i'm using the latest version of processwire and installed the Blog Module....but i cant access the POSTS tab in the Blog module backend...i get this error...please help me understand this... Fatal error: Call to a member function count() on a non-object in /home/pleasefi/public_html/clients/cdcpool1/site/assets/cache/FileCompiler/site/modules/MarkupBlog/ProcessBlog.module on line 1355 Error: Call to a member function count() on a non-object (line 1355 of /home/pleasefi/public_html/clients/cdcpool1/site/modules/MarkupBlog/ProcessBlog.module) This error message was shown because: site is in debug mode. ($config->debug = true; => /site/config.php). Error has been logged. Link to comment Share on other sites More sharing options...
flydev Posted November 17, 2016 Share Posted November 17, 2016 Hello @Rajiv welcome to the forum. Which version of the module have you installed ? It is the fork of @BitPoet linked there ? : PS: for better support you must post directly to the support thread of the module. Link to comment Share on other sites More sharing options...
Rajiv Posted November 17, 2016 Author Share Posted November 17, 2016 Module Version 2.3.9 Link to comment Share on other sites More sharing options...
flydev Posted November 17, 2016 Share Posted November 17, 2016 (edited) 5 hours ago, Rajiv said: Module Version 2.3.9 From the module directory ? if yes : - uninstall it and reinstall this version : https://github.com/BitPoet/Blog/archive/dev-3x-compat.zip Edited November 17, 2016 by flydev corrected link 1 Link to comment Share on other sites More sharing options...
Rajiv Posted November 17, 2016 Author Share Posted November 17, 2016 what happens to the data/ posts i've already added? Do i loose them after the reinstall? Link to comment Share on other sites More sharing options...
flydev Posted November 17, 2016 Share Posted November 17, 2016 (edited) I dont know. To test an upgrade, just make a backup of your database, rename the directory Blog to .Blog (in site/modules path) and past the new Blog folder from the ZIP you downloaded from github, copy the content of modules/Blog/template-file folder in your templates folder, then go to in backend > modules then click Refresh and see what happen. Edit: It dont work. The module have some dependencies not fixed, it do not copy the content of certain files, and some problems appear due to namespace. We must wait comment from BitPoet. Edited November 17, 2016 by flydev testing 2 Link to comment Share on other sites More sharing options...
Rajiv Posted November 17, 2016 Author Share Posted November 17, 2016 will give it a try...thanks for the quick response... 1 Link to comment Share on other sites More sharing options...
BitPoet Posted November 17, 2016 Share Posted November 17, 2016 5 hours ago, flydev said: It dont work. The module have some dependencies not fixed, it do not copy the content of certain files, and some problems appear due to namespace. We must wait comment from BitPoet. @Rajiv: Please use the version you can download at https://github.com/BitPoet/Blog/archive/dev-3x-compat.zip The link by @flydev accidentially linked to the original, unpatched branch of the fork. Link to comment Share on other sites More sharing options...
flydev Posted November 17, 2016 Share Posted November 17, 2016 5 hours ago, Rajiv said: what happens to the data/ posts i've already added? Do i loose them after the reinstall? @BitPoet And about this question? an idea ? Sorry Rajiv for the wrong link Link to comment Share on other sites More sharing options...
Rajiv Posted November 18, 2016 Author Share Posted November 18, 2016 haven't got the chance to test this...got caught up with something else...but i should have an answer by tomorrow... Link to comment Share on other sites More sharing options...
BitPoet Posted November 18, 2016 Share Posted November 18, 2016 7 hours ago, Rajiv said: haven't got the chance to test this...got caught up with something else...but i should have an answer by tomorrow... When you get around to it, make sure you use this approach: On 11/17/2016 at 0:20 PM, flydev said: I dont know. To test an upgrade, just make a backup of your database, rename the directory Blog to .Blog (in site/modules path) and past the new Blog folder from the ZIP you downloaded from github, copy the content of modules/Blog/template-file folder in your templates folder, then go to in backend > modules then click Refresh and see what happen. Do NOT uninstall the module in the backend, or the blog module may consider itself not yet configured when you reinstall it, redirecting you to the install wizard instead of the dashboard (where the install wizard then errors out since the pages, fields and roles already exist). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now