Title: Error in the page code
Last modified: December 26, 2019

---

# Error in the page code

 *  Resolved [ya4elovek](https://wordpress.org/support/users/ya4elovek/)
 * (@ya4elovek)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/error-in-the-page-code/)
 * Help to get rid of displaying the error on the page.
 * [an error occurred while processing the directive]
 * The error is present on all pages except /home.
 * Where to look for a problem?
    -  This topic was modified 6 years, 5 months ago by [ya4elovek](https://wordpress.org/support/users/ya4elovek/).
    -  This topic was modified 6 years, 5 months ago by [ya4elovek](https://wordpress.org/support/users/ya4elovek/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-in-the-page-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [longnguyen](https://wordpress.org/support/users/longnguyen/)
 * (@longnguyen)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/error-in-the-page-code/#post-12272313)
 * Hi [@ya4elovek](https://wordpress.org/support/users/ya4elovek/)
 * It’s a weird problem, it relates to the WordPress core or hosting/server.
 * I’ve just followed this topic
    [https://wordpress.org/support/topic/an-error-occurred-while-processing-this-directive-after-wordpress-4-8-update/](https://wordpress.org/support/topic/an-error-occurred-while-processing-this-directive-after-wordpress-4-8-update/)
 * You can go to Settings -> Permalinks -> Select Default -> Save -> then back to
   selected permatlink -> Save again.
 * Let me know how it goes.
 *  Thread Starter [ya4elovek](https://wordpress.org/support/users/ya4elovek/)
 * (@ya4elovek)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/error-in-the-page-code/#post-12272704)
 * Thank you, but:
    I followed your recommendations: settings – > permalinks – >
   select “simple” – > ([https://infoservice-taxi.ru/?p=123](https://infoservice-taxi.ru/?p=123))
   save -> then go back to the selected permatlink – > save again. The error message
   did not disappear: [an error occurred while processing the directive]
 *  [longnguyen](https://wordpress.org/support/users/longnguyen/)
 * (@longnguyen)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/error-in-the-page-code/#post-12274896)
 * Hi [@ya4elovek](https://wordpress.org/support/users/ya4elovek/)
 * Could you please switch to the default theme of WordPress (Twenty Twenty) and
   check the problem again?
 * Or contact your hosting/server provider to ask for help with this case.
 * Let me know if there is any information.
 *  Thread Starter [ya4elovek](https://wordpress.org/support/users/ya4elovek/)
 * (@ya4elovek)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/error-in-the-page-code/#post-12275130)
 * Thank you for participating!
    Switching to any other topic solves the problem.
   Checked on three different topics. Therefore, I turned to support a specific 
   topic One Press. Am I correct?
 *  Thread Starter [ya4elovek](https://wordpress.org/support/users/ya4elovek/)
 * (@ya4elovek)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/error-in-the-page-code/#post-12276151)
 * hi [(@longnguyen)](https://wordpress.org/support/users/longnguyen/)
 * I turned to the provider:
    Website [https://infoservice-taxi.ru](https://infoservice-taxi.ru)
   created on the basis of WordPress 5.3.2 with the theme onepress. Recently, on
   all pages except home, an error message appeared in the sidebar [an error occurred
   while processing the directive].
 * When you change the subject, the message is not displayed.
 * The problem appeared after the next update of the theme or CMS (but this is not
   accurate).
 * Technical support on the site of the authors of the theme and the WordPress forum
   recommended to contact the hosting provider to check the rights of folders and
   files, believing that the problem may be in this.
 * Help to understand, please
 * The answer of the hosting provider:
 * Hello!
 * Some of the files in the theme you are using have comments in the code that contain
   the #character. The error appeared because of this. Removed the symbol, please
   check. Pre-clear the browser cache according to the instructions.
 * We have replaced #content-content-inside with the following files in the /VAR/
   VSP/u0865728/data/VSP/Infoservice-taxi directory.<url> / WP-content / topics:
 * ./onepress / template-left sidebar.PHP
    ./ onepress / home.PHP ./onepress/woocommerce.
   PHP ./onepress / template-full width.PHP ./onepress / index.PHP ./onepress / 
   search.PHP ./onepress / template-fullwidth-stretched.PHP ./onepress / single.
   PHP ./onepress / page.PHP ./ onepress/404.PHP ./ onepress / archive.PHP
 * of our side have already made the changes necessary for normal operation, in 
   particular, replaced “# content-inside” (without quotes) with “content-inside”(
   without quotes) in the files from the directory in /var/www in/u0865728/data/
   VSP/Infoservice-taxi.<url> / WP-content / topics :
 * ./onepress / template-left sidebar.PHP
    ./ onepress / home.PHP ./onepress/woocommerce.
   PHP ./onepress / template-full width.PHP ./onepress / index.PHP ./onepress / 
   search.PHP ./onepress / template-fullwidth-stretched.PHP ./onepress / single.
   PHP ./onepress / page.PHP ./ onepress/404.PHP ./ onepress / archive.PHP
 * You need to check the site now by clearing your browser cache.
 * No additional actions are required.
 * And that really fixed the problem
    -  This reply was modified 6 years, 5 months ago by [ya4elovek](https://wordpress.org/support/users/ya4elovek/).

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

The topic ‘Error in the page code’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/onepress/2.3.18/screenshot.png)
 * OnePress
 * [Support Threads](https://wordpress.org/support/theme/onepress/)
 * [Active Topics](https://wordpress.org/support/theme/onepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/onepress/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/onepress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [ya4elovek](https://wordpress.org/support/users/ya4elovek/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/error-in-the-page-code/#post-12276151)
 * Status: resolved