Website from Scratch Tutorial Video

I really appreciate Albert and Peter for putting together this tutorial on YouTube, especially as I may have been the one to "encourage" Albert to do one like this :-) If it's okay, I will post observations and problems I encounter here.

Comments

  • I have been following along, and when I get to about the 3:05 point in the video (setting General Global theme options), nothing gets displayed (no submenu under General at all). Same for all the other items under Theme Options, i.e. nothing shows up in the right hand pane. In a macOS terminal, I did a "tail -f error.log" (I think this is PHP's error log; I'm using a local installation of localwp, i.e. Local by Flywheel, and the file is ~/Local Sites/befromscratch/logs/php/error.log). I get the following output as soon as I click the Theme Options item under BeTheme in the Wordpress dashboard).

    [22-Mar-2023 14:56:06 UTC] PHP Fatal error: Uncaught Error: Undefined constant "AUTH_KEY" in /Users/gary/Local Sites/befromscratch/app/public/wp-content/themes/betheme/muffin-options/options.php:1185

    Stack trace:

    #0 /Users/gary/Local Sites/befromscratch/app/public/wp-includes/class-wp-hook.php(308): MFN_Options->_options_page_html('')

    #1 /Users/gary/Local Sites/befromscratch/app/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)

    #2 /Users/gary/Local Sites/befromscratch/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    #3 /Users/gary/Local Sites/befromscratch/app/public/wp-admin/admin.php(259): do_action('betheme_page_be...')

    #4 {main}

     thrown in /Users/gary/Local Sites/befromscratch/app/public/wp-content/themes/betheme/muffin-options/options.php on line 1185

    [22-Mar-2023 14:56:07 UTC] PHP Fatal error: Uncaught Error: Undefined constant "AUTH_KEY" in /Users/gary/Local Sites/befromscratch/app/public/wp-content/themes/betheme/muffin-options/options.php:1185

    Stack trace:

    #0 /Users/gary/Local Sites/befromscratch/app/public/wp-includes/class-wp-hook.php(308): MFN_Options->_options_page_html('')

    #1 /Users/gary/Local Sites/befromscratch/app/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)

    #2 /Users/gary/Local Sites/befromscratch/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    #3 /Users/gary/Local Sites/befromscratch/app/public/wp-admin/admin.php(259): do_action('betheme_page_be...')

    #4 {main}

     thrown in /Users/gary/Local Sites/befromscratch/app/public/wp-content/themes/betheme/muffin-options/options.php on line 1185

  • Hey,

    Please send us the WordPress dashboard and FTP access privately thru the contact form, which is on the right side at http://themeforest.net/user/muffingroup#contact, and we will check what might be the reason.

    Notice!

    Please attach a link to this forum discussion.

    Sending incorrect or incomplete data will result in a longer response time.

    Therefore, please ensure that the data you send are complete and correct.

    Thanks

  • It's running on my laptop, so sharing a link is not practical. It probably has something to do with the versions of software running WordPress. I'm using localwp (from localwp.com). If I use a shared host on my Bluehost account, it doesn't have the problem (I discovered this after posting). I'll try another local dev environment like DevKinsta.

  • If you work on localhost, I suggest using XAMPP for that.

    There are plenty of tutorials on how to install WordPress on it, and when you proceed with it, you can install Betheme just like on the live website.


    Thanks

  • I've never had any trouble with localwp until this. I've found that it only occurs on PHP 8. if I use PHP 7.4.30, it works fine. I'll use that as a workaround in the meantime. For a variety of reasons, I like localwp.

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.