htdocs/concrete/libraries/block_view_template.php on line 41
Permalink
Hello,
I had a working site in last day. I removed the old versions yesterday. After that I tested the site. Now some pages shows the error:
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home/domains/amritahospital/htdocs/concrete/libraries/block_view_template.php on line 41
I tried updating concrete5, but still it shows the same error.
PS: I have already tried the fix of uncommenting
$res = $db->execute($r, $v);
in block.php, but still it is not working.
What could be the reason and how can I fix it.
Thanks in advance.
I had a working site in last day. I removed the old versions yesterday. After that I tested the site. Now some pages shows the error:
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in /home/domains/amritahospital/htdocs/concrete/libraries/block_view_template.php on line 41
I tried updating concrete5, but still it shows the same error.
PS: I have already tried the fix of uncommenting
$res = $db->execute($r, $v);
in block.php, but still it is not working.
What could be the reason and how can I fix it.
Thanks in advance.
Hello John,
I tried all these steps from the link:
http://www.concrete5.org/documentation/how-tos/editors/the-block-do...
but still there is same problem, the page is blank with the below error:
*"Fatal error*: Call to a member function getBlockTypeHandle() on a
non-object in */htdocs/concrete/libraries/block_view_template.php* on line *
41"
*
Thank you,
Sanjay.
I tried all these steps from the link:
http://www.concrete5.org/documentation/how-tos/editors/the-block-do...
but still there is same problem, the page is blank with the below error:
*"Fatal error*: Call to a member function getBlockTypeHandle() on a
non-object in */htdocs/concrete/libraries/block_view_template.php* on line *
41"
*
Thank you,
Sanjay.
Some more ideas on what could cause this sort of error:
- Deleting block types by deleting their files rather than by using the dashboard?
- An incomplete core upgrade
- A recent addon upgrade
- php error within a custom block type
So go back through your memory of recent changes and see if any of the above strikes a bell.
- Deleting block types by deleting their files rather than by using the dashboard?
- An incomplete core upgrade
- A recent addon upgrade
- php error within a custom block type
So go back through your memory of recent changes and see if any of the above strikes a bell.
Hello John,
Yes I deleted some pages in block mode, but there is delete option for deleting a page, is this created problem, If yes then it is a bug in concrete5. Isn't it?
But now I am recreating those pages again.
Thank you,
Sanjay.
Yes I deleted some pages in block mode, but there is delete option for deleting a page, is this created problem, If yes then it is a bug in concrete5. Isn't it?
But now I am recreating those pages again.
Thank you,
Sanjay.
http://www.concrete5.org/documentation/how-tos/editors/the-block-do...