So, I have a custom panel style plugin. If I move the site to a new url -- and have a new site directory, the path to the plugin changes. After moving the site, the first cache clear does not do it -- I have to clear it twice to get the new path to the region style to work. I can see in the log that it's trying to access the old site dir path, even after the first cache clear. I've tried using drupal_get_path and panels_get_path -- both have the same problem.

I might be using apc on this box, have to check that. But why are two cache clears the magic trick?

Comments

bartdepotter’s picture

I'm experiencing the same problem. I developed the site with 'Rebuild the theme registry on every page load' on and that didn't trigger any problems.
When I finished developing the site and turned this setting off my Panels Plugin Styles stopped loading. When clearing cache they reappear again, but after reloading the page they are gone again.

After some testing I discovered that the hook_ctools_plugin_directory isn't called the second time after clearing cache.

The panels_manager still finds the styles, but the panels module stops loading them.

I hope to fix this soon.

japerry’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Drupal 7 is no longer supported, closing.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.