• Resolved kvandekrol

    (@kvandekrol)


    This plugin failed to activate on my installation due to a short open tag on line 175 of mindvalley-include-content.php. It was a quick fix to get it working, but I thought I’d point it out so you could update it for everyone else.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mindvalley

    (@mindvalley)

    Not sure what you mean … can’t find the problem :/

    Can you post the code here on what you’ve fixed?

    Thread Starter kvandekrol

    (@kvandekrol)

    It’s now on line 186 in the current release – the <? should be changed to <?php.

    Thread Starter kvandekrol

    (@kvandekrol)

    Thought I’d leave an update and say that it’s now line 250 in the current release (1.3.1). If a server’s PHP installation is not set up to allow the now-deprecated “short open” tags (e.g. <? instead of <?php) then the plugin will fail activation. If you change line 250 to read <?php then the plugin will work fine in any standard PHP configuration. That was the only instance of the short-open tag in the file, so just that one line and we’re good!

    Starting on line 248:

    </div>
    				</li>
    				<?
    			}
    		}
    		echo '</ol>';

    …becomes:

    </div>
    				</li>
    				<?php
    			}
    		}
    		echo '</ol>';

    By the way, I wanted to say that this plugin is fantastic and really fills in some gaps in WordPress that make it hard to manage sites with a large number of pages. I’ve used it on a couple of sites so far and it has made my life much easier!

    Plugin Author Mindvalley

    (@mindvalley)

    Hey thanks kvandekrol 🙂 Sorry for the late reply.

    I’ve made the changes and published a new revision. Should be available soon.

    It’s nice to hear that it helped you in your work 🙂 It helped us tremendously when we had duplicating contents all over the place.

    Cheers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin failed to activate (short open tag on line 175)’ is closed to new replies.