Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: Flynt\Utils\acf_add_options_page() #234

Closed
KristofKreimeyer opened this issue Feb 5, 2020 · 2 comments
Closed

Uncaught Error: Flynt\Utils\acf_add_options_page() #234

KristofKreimeyer opened this issue Feb 5, 2020 · 2 comments
Assignees

Comments

@KristofKreimeyer
Copy link

Hi guys,

i installed Flynt, changed the const host to localhost and called https:localhost:3000.
Then i installed the plugin that you have to install and after reloading the page i got this error.

Maybe someone could get me a hint what to do now ;-)

Fatal error: Uncaught Error: Call to undefined function Flynt\Utils\acf_add_options_page() in C:\xampp\htdocs\wp-content\themes\flynt\lib\Utils\Options.php:77 Stack trace: #0 C:\xampp\htdocs\wp-content\themes\flynt\lib\Utils\Options.php(96): Flynt\Utils\Options::createOptionPage('global') #1 C:\xampp\htdocs\wp-content\themes\flynt\lib\Utils\Options.php(204): Flynt\Utils\Options::createOptionSubPage('global', 'Default') #2 C:\xampp\htdocs\wp-content\themes\flynt\lib\Utils\Options.php(199): Flynt\Utils\Options::addOptions('Acf', Array, 'global', 'Default') #3 C:\xampp\htdocs\wp-content\themes\flynt\inc\acf.php(33): Flynt\Utils\Options::addGlobal('Acf', Array) #4 C:\xampp\htdocs\wp-content\themes\flynt\lib\Utils\FileLoader.php(66): require_once('C:\xampp\htdocs...') #5 [internal function]: Flynt\Utils\FileLoader::Flynt\Utils{closure}(Object(DirectoryIterator)) #6 C:\xampp\htdocs\wp-content\themes\flynt\lib\Utils\FileLoader.php(34): call_user_func(Object(Closure), Object(DirectoryIterator)) #7 C:\xampp\htdocs\wp-content\th in C:\xampp\htdocs\wp-content\themes\flynt\lib\Utils\Options.php on line 77

@domtra
Copy link
Member

domtra commented Feb 6, 2020

Hi @KristofKreimeyer ,
it seems that you do not have Advanced Custom Fields Pro active. It cannot find the function acf_add_options_page(). Unfortunately, this function is not part of the free ACF plugin, but only of the paid Pro version.
We are currently looking into providing a similar experience with a free plugin but do not have a solution for that, yet.
Hope I could help you out.

@domtra
Copy link
Member

domtra commented Feb 26, 2020

closing this due to inactivity. @KristofKreimeyer let me know if we can support you in any other way.

@domtra domtra closed this as completed Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants