• Resolved Q Dawg

    (@q-dawg)


    I had a problem where the update to 1.2.33 would cause the plugin to no longer display the tree and everything else was jumbled together.

    After I edited the “index.php” file on line 47

    From:
    $plugin_dir_url = trailingslashit( plugin_dir_url(basename($aa)) . basename(dirname($aa)) );

    To (copied from version 1.2.32):
    $plugin_dir_url = plugin_dir_url(basename($aa)) . ‘cms-tree-page-view/’;

    The plugin worked properly again.

    Putting it out there for anyone else having the same problem. Or you could just roll back to version 1.2.32.

    https://www.ads-software.com/plugins/cms-tree-page-view/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Anna Johansson

    (@vintagemaniac)

    I can confirm that the problem (and fix) remains in 1.2.34

    torontomedics2

    (@torontomedics2)

    Fix worked for me too!

    Can also confirm that the problem still exists in version 1.2.34 and that the fix fixed the problem.

    Problem still exists in version 1.3. Fix still solves it.

    Looking at SVN, it looks like this plugin is still being actively developed. Any idea when we can expect this fix to reach the plugin officially?

    Fix does not work for me unfortunately.

    Seems to be a problem with Visual Composer as another user pointed out.

    Hope for an update.

    Thread Starter Q Dawg

    (@q-dawg)

    DerMetallurg – If the fix did not work for you then you are experiencing a different problem. Not the same one as describe in this thread. I would suggest searching for other fixes for your problem or opening a new thread and asking for help for your specific issue.

    If the Developer is watching this thread, I did a little more research and the problem is with the uniqueness of some of your variables.

    In the 1.3 version of the plugin in the index.php file lines 39-47 seem to be the problem. One or more of the variables: $mu_plugin, $network_plugin, $plugin are being used by another plugin(specifically in my case WP Super Cache). I changed those variable to: $cmstpv_mu_plugin, $cmstpv_network_plugin, $cmstpv_plugin and then your code on line 49 will work $plugin_dir_url = trailingslashit( plugin_dir_url(basename($aa)) . basename(dirname($aa)) );

    I would also like to suggest changing line 49 to $plugin_dir_url = plugin_dir_url($aa); , you will get the same results with less code.

    Thanks for the great plugin.

    Thread Starter Q Dawg

    (@q-dawg)

    This fix has been incorporated into the 1.3.1 updated. You can download the update from the Plugin Repository but for some reason the version in the WordPress repository still says 1.3 so you won’t get an update notification inside WordPress.

    Thread Starter Q Dawg

    (@q-dawg)

    WordPress plugin repository has the correct version number now.

    Marking this thread as resolved.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘1.2.33 breaks plugin – Fix’ is closed to new replies.