getting join() error with undefined $classes variable
-
hello kind support ppl <3
i’m trying to replicate functionality from GeneratePress theme (as exercise in learning PHP, WP, theming, FUN ?? and getting errors.
[10-Feb-2021 11:43:37 UTC] PHP Warning: join(): Invalid arguments passed in /app/public/wp-content/themes/wphierarchy/inc/theme-functions.php on line 25
[10-Feb-2021 11:43:37 UTC] PHP Notice: Undefined variable: classes in /app/public/wp-content/themes/wphierarchy/index.php on line 25
here are links to gits of my replicated code:
https://gist.github.com/LGitHub-sprout/7d571035fd32fe75f6a0bee9a13392f3here are links to the GeneratePress theme functions i’m replicating:
https://github.com/tomusborne/generatepress/blob/e030f57d2c26991074a6868265737424dac567d0/inc/markup.php#L289grateful for any help, please. happy to post code here if that’s better.
thank you!
The page I need help with: [log in to see the link]
- The topic ‘getting join() error with undefined $classes variable’ is closed to new replies.