Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: undefined box_class #754292

    I was sure to have tried it before, with no luck, but clearly I was wrong because your suggestion works flawlessly!
    Thanks a lot Ismael, ‘wp_loaded’ solves my problem.

    Regards,
    Christian

    in reply to: undefined box_class #753664

    Hi Ismael,
    thanks for spending your time to help me to solve this weird problem.
    My plugin is very simple: it checks if the current url contains “wp-login.php” and in some conditions it forces a 404 page (through the code written above). The above process is included into a WordPress ‘init’ function.
    That’s all.

    Bye,
    Christian

    in reply to: undefined box_class #751371

    Thanks Nikko, but unfortunately the suggested procedure doesn’t solve my problem: “global $avia_config” is already declared in header.php which is correctly invoked and included.

    Regards,
    Christian

    in reply to: undefined box_class #750918

    Let me be more specific: of course I can define a box_class index and forget about the notice, but the fact is that the style is someway not fully loaded so that the 404 page is not rendered as correctly as it should. To avoid this problem, I need to know how to deal with style when a 404 page is forced to be displayed with:

    status_header(404);
    global $wp_query;
    $wp_query->set_404();
    include(get_query_template( ‘404’ ));
    exit;

    Thanks in advance,
    Christian

    in reply to: Googleapis Retired Version #723745

    Same Enfold release and same warning here, however maps are displayed correctly.
    edit: Solved by creating a new API.

    Regards,
    Christian

    • This reply was modified 7 years, 11 months ago by sgarlarud.
Viewing 5 posts - 1 through 5 (of 5 total)