Quantcast
Channel: My Cyber Universe
Browsing all 88 articles
Browse latest View live

How to fix: Can’t use function return value in write context

After making an update to one of my WordPress plugins, when trying to load plugin settings page, I get the following error message: Fatal error: Can’t use function return value in write context in...

View Article


Add Google Analytics to WordPress website

Google Analytics allows you to get information about your websites visitors such as the devices or OS they were using and their location. Such information can be very useful for deciding how best to...

View Article


WordPress error: Can’t use function return value in write context

My WordPress website crashed after installing an update of one of the plugins. Then I could see only the white screen with the following error message: Fatal error: Can’t use function return value in...

View Article

Jekyll + Bootstrap: Dynamic navigation bar with highlighting of the active...

I love using Jekyll and Bootstrap to create static websites. Jekyll is pretty cool, but doesn’t have really much helper utils to get common tasks done well and fast. In building a website powered by...

View Article

Run WordPress Multisite locally on macOS with MAMP PRO app

Recently I have been working on a large project that required using the WordPress multisite. WordPress Multisite enables you to create multiple websites from a single installation, requiring only one...

View Article


Run WordPress Multisite locally on macOS with MAMP PRO app

Recently I have been working on a large project that required using the WordPress multisite. WordPress Multisite enables you to create multiple websites from a single installation, requiring only one...

View Article

Jekyll + Bootstrap: Dynamic navigation bar with highlighting of the active...

I love using Jekyll and Bootstrap to create static websites. Jekyll is pretty cool, but doesn’t have really much helper utils to get common tasks done well and fast. In building a website powered by...

View Article

WordPress error: Can’t use function return value in write context

My WordPress website crashed after installing an update of one of the plugins. Then I could see only the white screen with the following error message: Fatal error: Can’t use function return value in...

View Article


Add Google Analytics to WordPress website

Google Analytics allows you to get information about your websites visitors such as the devices or OS they were using and their location. Such information can be very useful for deciding how best to...

View Article


How to fix: Can’t use function return value in write context

After making an update to one of my WordPress plugins, when trying to load plugin settings page, I get the following error message: Fatal error: Can’t use function return value in write context in...

View Article

Using constants in WordPress plugin

I’ve been writing WordPress plugins for a long time. At the top of the main plugin file, I usually define some constants. These constants contain basic information about my plugin, such as: Name of...

View Article

How to fix: Jekyll build/serve error message

We can set up a local version of our Jekyll GitHub Pages website to preview our website before making the changes public. But when I run the jekyll [build | serve] command it throws the following error...

View Article

Detect ad blocker and show a message to visitor of website

For many websites that publish content for free, ads are one of the primary sources for getting revenue. This revenue is spent for paying the expenses to run the website. Reduction of the displayed ads...

View Article


Making smart sticky elements by using a jQuery plugin

Sometimes when I surfing the Internet I see the sticky ellements that applied on website. Most often it’s a sticky ads that placed in sidebar. Sticky ad is an ad unit that stays in place while the page...

View Article

Including the jQuery library to your website

In addition to custom JavaScript files many developers find jQuery useful. jQuery is the most popular JavaScript library available that allows developers to easily and quickly add enhancements to the...

View Article


How to fix: Your user account isn’t allowed to install to the system RubyGems

This happened to me after upgrading MacOS to version “High Sierra” on my MacBook. I cloned my application repository and went to execute a bundle install command, but it throws the following error...

View Article

The problem with highlighting PHP code with Rouge

By default Jekyll version 3, ships with Rouge syntax highlighter. It has built in support for syntax highlighting of over 100 languages. I’m using Rouge with fenced code blocks in markdown. But I...

View Article


How to fix: bundler: command not found: jekyll

We can set up a local version of our Jekyll GitHub Pages website to preview our website before making the changes public. But after upgrading MacOS to version “High Sierra” on my MacBook, when I run...

View Article

How to fix: MediaKit reports not enough space on device for requested operation

Today I bought a brand new external hard drive WD Elements Portable 1Tb. A Western Digital company says that it can be used on both Windows and macOS. But most WD drives come formatted in the NTFS file...

View Article

How to fix: fatal: Authentication failed for https://github.com/

After enabling a two-factor authentication in my GitHub account, when I run the Git git push command it throws the following error message: $ git push Username for 'https://github.com': Username...

View Article
Browsing all 88 articles
Browse latest View live