help needed urgent
PermalinkFatal error: Call to a member function getBlockTypeHandle() on a non-object in /home/ebmas/public_html/updates/concrete5.6.1.2_updater/concrete/core/libraries/block_view_template.php on line 41
What do I need to do to fix this?
Anyone please help!

Warning: require_once(/home/ebmas/public_html/packages/google_plus_one/blocks/google_plus_one/controller.php) [function.require-once]: failed to open stream: No such file or directory in /home/ebmas/public_html/updates/concrete5.6.1.2_updater/concrete/core/libraries/loader.php on line 214
Fatal error: require_once() [function.require]: Failed opening required '/home/ebmas/public_html/packages/google_plus_one/blocks/google_plus_one/controller.php' (include_path='/home/ebmas/public_html/libraries/3rdparty:/home/ebmas/public_html/updates/concrete5.6.1.2_updater/concrete/libraries/3rdparty:.:/usr/lib/php:/usr/local/lib/php') in /home/ebmas/public_html/updates/concrete5.6.1.2_updater/concrete/core/libraries/loader.php on line 214
In the dashboard the google+ addon picture changed to C5 logo and said "An error occurred while downloading the package"
Same thing happened to the second addon.
BTW just download those 2 missing package and upload it manually into the packages directory to overcome the add-on related error.
Rony
Thankyou
I managed to update the concrete5 version. But now I am getting
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home/ebmas/public_html/updates/concrete5.6.2.1_updater/concrete/core/libraries/block_view_template.php on line 41
This happens only on certain pages like the Register page.
Any ideas???
Is it possible that you copied and pasted a block to the register single page? It may be that you have lost the association with the original block it was pasted from because that block no longer exists.
Could you try creating a tools file to test this? You would need to create a file(or upload one) to the top level /tools/ directory. Name the file blockfinder.php
/tools/blockfinder.php
Place this code in it
Then browse to
http://www.example.com/index.php/tools/blockfinder.php
and post back the output.
Best Wishes,
Mike
Thanks for looking into this for me. I uploaded the file you wanted me to and the output was:
Register
44
48
1553
914
1554
633
1555
1557
1558
1559
Hope that makes sence to you! lol
The only block I can think I might have added where the mega menu & an image in the "headerimage" content area.
Looking forward to your reply.
Just to update you I'm am still getting the same error, but seems to only be when I logged in. If that gives you any other ideas!
Thank you in advance
The error is:
Fatal error: Call to a member function getInstance() on a non-object in /home/ebmas/public_html/updates/concrete5.6.2.1_updater/concrete/core/controllers/blocks/core_scrapbook_display.php on line 32
This happens when I'm both logged in and out.
I contact the developer and he explained its not the package making this error.
What is occurring is that you have references to blocks that no longer exist. These are blocks that were pasted from the clipboard but do not seem to exist anymore. You'll need to delete those blocks.
I would definitely create backups before continuing beyond this point.
Go to the dashboard and go to the stacks page. From there look for that content area that you added the two blocks to. My best guess here would be to completely delete that area and recreate it. Hopefully that will clear out those blocks. You will need to readd the blocks afterward, so make a note of what blocks were in there.
Best Wishes,
Mike
Sorry I was just trying to give you more info on the problem, but I did what you said and it has seem to work!
Thanks for the advice greatly appriecated!
Register
1227
12243
Is there a way I can find out which pages these blocks are on? or some way to edit them?
Many thanks!
Mike
Warning: include(/home/ebmas/public_html/updates/concrete5.6.2.1_updater/concrete/single_pages/dashboard/users/registration.php) [function.include]: failed to open stream: No such file or directory in /home/ebmas/public_html/updates/concrete5.6.2.1_updater/concrete/core/libraries/view.php on line 945
Warning: include() [function.include]: Failed opening '/home/ebmas/public_html/updates/concrete5.6.2.1_updater/concrete/single_pages/dashboard/users/registration.php' for inclusion (include_path='/home/ebmas/public_html/libraries/3rdparty:/home/ebmas/public_html/updates/concrete5.6.2.1_updater/concrete/libraries/3rdparty:.:/usr/lib/php:/usr/local/lib/php') in /home/ebmas/public_html/updates/concrete5.6.2.1_updater/concrete/core/libraries/view.php on line 945 - See more at:http://ebmas.co.uk/index.php?cID=35#sthash.KupbO9CE.dpuf...
Any advice would be great!