• Resolved ikoumi

    (@ikoumi)


    <?php

    if ( ! defined( ‘ABSPATH’ ) ) {
    exit;
    } // Exit if accessed directly

    //for back-end translations
    function a13_be($str){
    _e( ” . $str, ‘photon’ ); /* empty string so Theme Check wont report it unnecessary */
    }
    function a13__be($str) {
    return __( ” . $str, ‘photon_admin’ ); /* empty string so Theme Check wont report it unnecessary */
    }

    /* Init of framework */
    require_once ( get_template_directory() . ‘/advance/apollo13.php’);

    $a13_apollo13 = new Apollo13();
    //start theme engine
    $a13_apollo13->start();

    function my_sell_media_below_buy_button( $post_id ) {

    $settings = sell_media_get_plugin_options();
    $checkout_page = $settings->checkout_page;

    echo ‘‘ . __( ‘Check Out Now’, ‘sell_media’ ) . ‘‘;
    }
    add_action( ‘sell_media_below_buy_button’, ‘my_sell_media_below_buy_button’, $post_id );
    ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Have you tried:
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – If you can’t get into your admin dashboard, try resetting the plugins folder by FTP. Sometimes, an apparently inactive plugin can still cause problems. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – switching to the unedited default Theme (Twenty Sixteen, etc.) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins). If you don’t have access to your admin area, use FTP , or your web-host’s cPanel or whatever file management application your host provides (no Dashboard access required). Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name. Alternately, you can remove other themes except the default theme. That will force your site to use it.

    Thread Starter ikoumi

    (@ikoumi)

    Thanks, the issue is solved by re-setting the plugin folder!

    Moderator t-p

    (@t-p)

    Glad to know it 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Syntax error in line 28’ is closed to new replies.