Content Dock 2.0.10 issues

The Content Dock plugin seems to have serious issues.

Even during installation there where errors, with the language files?

screenshot_ 2025-04-06 um 20.35.54

screenshot_ 2025-04-06 um 20.35.34


Then the widget “Content Dock” is missing to add content at all.

screenshot_ 2025-04-06 um 20.28.05

On top of that, the page crashes when the content dock is activated!

screenshot_ 2025-04-06 um 20.39.09

Hello @Regnalf,

Thanks for posting in! You may need to enable the WP_DEBUG mode and error logs to check the issue further. Please clone the site to a staging environment, then switch to debug mode and enable the error logs as instructed in the link above. We’ll check the issue again once the staging site is ready.

If you can get hold of the Error Message, please send it to us so we can check it because we cannot replicate the issue on our local testing servers.

Best Regards.

I also have a development page from the site in question, and interestingly enough, at least the “Content Dock” widget is available there.

Nevertheless, the development page also crashes with the following error:

[07-Apr-2025 07:13:07 UTC] PHP Fatal error:  Uncaught TypeError: Unsupported operand types: string * int in /home/lebencbc/dev.leben-dig.com/wp-content/plugins/tco-content-dock/views/site/content-dock.php:95
Stack trace:
#0 /home/lebencbc/dev.leben-dig.com/wp-content/plugins/tco-content-dock/functions/output.php(21): require()
#1 /home/lebencbc/dev.leben-dig.com/wp-includes/class-wp-hook.php(324): tco_content_dock_output()
#2 /home/lebencbc/dev.leben-dig.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /home/lebencbc/dev.leben-dig.com/wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /home/lebencbc/dev.leben-dig.com/wp-includes/general-template.php(3080): do_action()
#5 /home/lebencbc/dev.leben-dig.com/wp-content/themes/pro/framework/views/footer/base.php(20): wp_footer()
#6 /home/lebencbc/dev.leben-dig.com/wp-content/themes/pro/framework/legacy/functions/frontend/view-routing.php(36): include('...')
#7 /home/lebencbc/dev.leben-dig.com/wp-content/themes/pro/framework/legacy/functions/frontend/view-routing.php(85): x_render_view()
#8 /home/lebencbc/dev.leben-dig.com/wp-content/themes/pro/framework/legacy/setup.php(66): x_get_view()
#9 /home/lebencbc/dev.leben-dig.com/wp-includes/class-wp-hook.php(324): Themeco\Theme\Theme->{closure}()
#10 /home/lebencbc/dev.leben-dig.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#11 /home/lebencbc/dev.leben-dig.com/wp-includes/plugin.php(517): WP_Hook->do_action()
#12 /home/lebencbc/dev.leben-dig.com/wp-content/themes/pro/cornerstone/includes/views/theming/layout-single.php(19): do_action()
#13 /home/lebencbc/dev.leben-dig.com/wp-includes/template-loader.php(106): include('...')
#14 /home/lebencbc/dev.leben-dig.com/wp-blog-header.php(19): require_once('...')
#15 /home/lebencbc/dev.leben-dig.com/index.php(17): require('...')
#16 {main}
  thrown in /home/lebencbc/dev.leben-dig.com/wp-content/plugins/tco-content-dock/views/site/content-dock.php on line 95

I have given you access to the development page.

Thank you for the update. To properly debug the issue, we may need S/FTP access. Please include the login info in the secure note. In the meantime, try to edit the wp-content\plugins\tco-content-dock\views\site\content-dock.php file and replace the code around line 95:

<div class="tco-content-dock <?php echo $tco_content_dock_position ?> tco-content-dock-off" style="width: <?php echo (int)$tco_content_dock_width; ?>px; <?php echo $tco_content_dock_position ?>: <?php echo -(int)$tco_content_dock_width - 50; ?>px;">

Let us know the result.

The site seems not to crash, but the content dock is still not working. (FTP, see secure note)

We adjusted the width and other settings of the Content Dock, and it seems to be working correctly. You can add more content in the Appearance > Widgets > Content Dock widget area. Please check the screenshot in the secure note.

Seems to be working now. Should I wait to use it on the live site until the official release of the corrected version is out?

We’ll forward this thread to our channel. In the meantime, you can make the same modification on the live site.

Many thanks @Ismael.

And if I may make a wish. It would be cool if you could use a Cornerstone component instead of the outdated widgets, for example. That would fit better into a dynamic concept.

We’ll include this info in the thread. For now, you can copy the shortcode of the exported component into a Text or HTML widget.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.