Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Setup a temporary folder for uploading and updating if you face (stream_socket_client() [function.stream-socket-client]:) this problem then use this code into wp-config.php
- define('WP_TEMP_DIR', ABSPATH . 'wp-content/');
- <!------------------------------------------------------------------------------------------------------------------->
- // Wordpress এ slug এর কাজ হল মুল site এর পরে যে অংশ থাকবে তাই হল slug এর অংশ
- যেমন http://localhost/wp/read-the-post/ এর মুল domain বা site হল http://localhost/wp/
- এবং read-the-post অংশই হল slug
- এমন করার জন্নে প্রথমে setting + permalink > post name এ টিক দিয়া + save setting all এ click করতে হবে | wamp server থেকে apache থেকে apache modules থেকে rewrite_modules টিক mark করে দিতে হবে |
- <!-------------------------------------------------------------------------------------------------------------------->
- // why we face [resolved] Notice: Trying to get property of non-object
- Hi there, do you have debugging mode turned on for that site?
- Check your wp-config.php - do you see a line like this?
- define('WP_DEBUG', true);
- Debugging notices shouldn't be active on live sites; they're meant for testing purposes only. Try turning debugging mode to off by setting it to false:
- define('WP_DEBUG', false);
- I'll report the error to the developers so it can be fixed in a future version. Thanks for the report!
- <!-------------------------------------------------------------------------------------------------------------------->
- // when we faceing this problem (Trying to get property of non-object in) this problem then use this code into wp-config.php
- error_reporting(E_ERROR);
- <!---------------------------------------------------------------------------------------------------------------------->
- @h@ // if face problem in wordpress in online serverInvalid argument supplied for foreach()
- - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
- - switching to the Twenty Eleven theme to rule out any theme-specific problems.
- - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.
- <!---------------------------------------------------------------------------------------------------------------------->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement