• Resolved industry11

    (@industry11)


    When trying to active this plugin we get the following error.

    “”
    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected ‘[‘ in /home/content/08/9699308/html/stage/wp-content/plugins/wp-wdfy-integration-of-wodify/soswodify.php on line 242

    “””

    We’ve cleared all caches, deactivated all plugins, etc.. and still get this error. Any ideas on how to get it working?

    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author osti47

    (@osti47)

    What WordPress and PHP versions are you using?

    To help me check the code, can you please in the plugin manager click on “Edit” and then search for the text

    public function plugin_menu()

    in the code that is displayed. Please copy the surrounding lines of code here. (Just making sure that the php file is not corrupted)

    Plugin Author osti47

    (@osti47)

    I have also created an update 1.7.6 where I changed the respective code. Please update and try again.

    Even if it works I would still be interested to know your PHP/WordPress version setup to better verify future versions

    Thread Starter industry11

    (@industry11)

    Hi,

    The updated version activated (1.7.6) but when clicking on the “settings” (URL: https://crossfitlowell.com/stage/wp-admin/options-general.php?page=sos_wodify) link to configure the plugin we received the following error in browser:

    “Sorry, you are not allowed to access this page.”

    We were able to access the setting from the left “WODIFY INTEGRATION” navigation in the dashboard. Currently testing the functionality.

    Plugin Author osti47

    (@osti47)

    Good to hear you were able to activate the plugin now.

    Unfortunately you are right about the settings link in plugin manager not working – this will be fixed in the next version.

    I would still be interested to know what PHP and WordPress versions you are running.

    Thread Starter industry11

    (@industry11)

    Just updated to this most recent version and it took our site down. (update: removed this plugin folder and site is back) this error happened

    Returned the error:

    Parse error: syntax error, unexpected ‘[‘ in /home/content/08/9699308/html/stage/wp-content/plugins/wp-wdfy-integration-of-wodify/soswodify.php on line 276

    URGENT

    • This reply was modified 8 years, 3 months ago by industry11.
    Thread Starter industry11

    (@industry11)

    Godaddy Hosting:

    PHP 5.4 (highest) we can install
    Wordpress 4.7

    URL: https://crossfitlowell.com/stage/

    Any ideas?

    • This reply was modified 8 years, 3 months ago by industry11.
    Plugin Author osti47

    (@osti47)

    I apologize for your troubles. Unfortunately until now I have no PHP 5.4 environment to test – I will try to setup one for my future versions.

    The current error should be fixed with the version 1.7.8 I just released, hopefully there are no other problems.

    If you cannot access the admin center due to the error. Please access your WordPress installation via FTP, go to the wp-content/plugins/ folder and delete the wp-wdfy-integration-of-wodify folder. Then you should be able to access the admin backend of WordPress and can reinstall the new version of the plugin.

    Thread Starter industry11

    (@industry11)

    Looks like the update corrected the problem. Thanks for the quick response. This is a well needed plugin. Keep up the good work.

    Wish list:

    Easy CSS styling to match site style or overwrite wodify’s default css.

    Ability to pull outside of widgets individual WOD, Plans, Classes on a granular level. Like just the WOD name or just one plan for folks to buy, etc…

    Thanks again!

    Plugin Author osti47

    (@osti47)

    Good that it works now. I will try to keep a closer look on PHP 5.4 in the future.

    As for the wish list:
    You can use CSS in your theme to style the WOD, each section uses specific Classes. For example .soswodify_wod_header, .soswodify_section_title, .soswodify_component_name…

    Pulling WODs outside widgets: have you checked out the wdfywod shortcode?
    Can you explain a bit more, what you have in mind regarding classes and plans? Generally of course the plugin is limited to what Wodify offer in their API.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Plugin could not be activated because it triggered a fatal error.’ is closed to new replies.