• Resolved lovingboth

    (@lovingboth)


    Parse error: syntax error, unexpected ‘)’ in /home/user/public_html/website/wp-content/plugins/beaf-before-and-after-gallery/admin/global-options.php on line 21

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter lovingboth

    (@lovingboth)

        add_submenu_page(
            'edit.php?post_type=bafg', //$parent_slug
            __( 'Settings', 'bafg-pro' ), //$page_title
            __( 'Settings', 'bafg-pro' ), //$menu_title
            'manage_options', //$capability
            'bafg_settings', //$menu_slug  
            'bafg_settings_page_callback', //$function
            3,
        );
    

    Is the comma after the 3 the issue, or is there something missing after it?

    Thread Starter lovingboth

    (@lovingboth)

    I can install it on another site on another server. Both have the same version of WP installed (5.9) but the one it doesn’t install on has Debian with PHP 7.0, and the one it does has Ubuntu 20.04 with PHP 7.4..

    .. however the minimum PHP version is said to be “5.4 or higher”.

    Plugin Author Themefic

    (@themefic)

    Hello
    Thank you for raising the issue. Could you kindly contact our support for this? https://portal.themefic.com/support/

    Plugin Contributor Tawhid Islam Raihan

    (@raihan143)

    Hello @lovingboth
    Please update the plugin. We have fixed the issue.
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘4.1.1 not installing – fatal syntax error’ is closed to new replies.