• Resolved mwarbinek

    (@mwarbinek)


    I just installed this plugin and it won’t activate because there is a parse error on line 29 in the autostock.php file.

    Lines 29 & 30 are as follows:

    namespace Autostock;
    use Autostock;

    When I comment out these two lines, the plugin activates but fails to show in the main sidebar menu in WordPress.

    I know some about PHP, but I don’t know enough about using “namespace”. As I read though, there is a lot reference to “Class” usage with namespace and there is no such reference in your php file for the plugin.

    Is there something missing here?

    https://www.ads-software.com/plugins/autostock/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Parse Error – Unexpected String’ is closed to new replies.